]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoDo not trust ipfw: check m_len always, not only after m_dup.
glebius [Fri, 11 Feb 2005 23:07:22 +0000 (23:07 +0000)]
Do not trust ipfw: check m_len always, not only after m_dup.

Submitted by: ru

19 years ago- do m_pullup() after m_dup()
glebius [Fri, 11 Feb 2005 22:28:58 +0000 (22:28 +0000)]
- do m_pullup() after m_dup()
- clean style in previous commit

Suggested by: ru

19 years agoMake sure the last command byte makes it onto the wire.
phk [Fri, 11 Feb 2005 22:24:02 +0000 (22:24 +0000)]
Make sure the last command byte makes it onto the wire.

19 years agopullup to sizeof struct ip before sending to ip_output.
glebius [Fri, 11 Feb 2005 21:26:39 +0000 (21:26 +0000)]
pullup to sizeof struct ip before sending to ip_output.

Suggested by: ru

19 years agoDon't read more than the given 'len' bytes from the 'big' string.
pjd [Fri, 11 Feb 2005 21:07:51 +0000 (21:07 +0000)]
Don't read more than the given 'len' bytes from the 'big' string.

PR: misc/77369
Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca>
MFC after: 1 week

19 years agoFurther embellish rev. 1.180: protect against -fno-strict-aliasing
ru [Fri, 11 Feb 2005 21:04:20 +0000 (21:04 +0000)]
Further embellish rev. 1.180: protect against -fno-strict-aliasing
being already in CFLAGS (as is the case with "make buildkernel").

NB: rev. 1.180 is only needed due to a broken setting of CFLAGS in
tinderbox.

19 years agoPackets from ipfw come with IP header in host byte order. Netgraph works
glebius [Fri, 11 Feb 2005 20:53:41 +0000 (20:53 +0000)]
Packets from ipfw come with IP header in host byte order. Netgraph works
with net byte order. Change byte order to net in ng_ipfw_input(), change
byte order to host before ip_output(), do not change before ip_input().

In collaboration with: ru

19 years agoStylistic fixes: push variable into a local context (this part is going
harti [Fri, 11 Feb 2005 17:03:18 +0000 (17:03 +0000)]
Stylistic fixes: push variable into a local context (this part is going
to be split out into a function soon). Also there is no need to write
back the colon that we have NUL-ed - the string is going to be freed
anyway.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agosysctl node vm.stats can not be static (for ia64 reasons).
phk [Fri, 11 Feb 2005 16:34:14 +0000 (16:34 +0000)]
sysctl node vm.stats can not be static (for ia64 reasons).

19 years agoAdd a bit more caveat text about MUTEX_PROFILING -- try to avoid using it
rwatson [Fri, 11 Feb 2005 15:17:57 +0000 (15:17 +0000)]
Add a bit more caveat text about MUTEX_PROFILING -- try to avoid using it
with other profiling and debugging options, such as INVARIANTS, WITNESS,
kernel profiling, etc.  They all interfere with each other nastily and
will generate fairly useless results.

19 years agoAdd SIGTHR (32) into list of signals permitted to be delivered to the
sobomax [Fri, 11 Feb 2005 14:02:42 +0000 (14:02 +0000)]
Add SIGTHR (32) into list of signals permitted to be delivered to the
suid application. The problem is that Linux applications using old Linux
threads (pre-NPTL) use signal 32 (linux SIGRTMIN) for communication between
thread-processes. If such an linux application is installed suid or sgid
and security.bsd.conservative_signals=1 (default), then permission will be
denied to send such a signal and the application will freeze.

I believe the same will be true for native applications that use libthr,
since libthr uses SIGTHR for implementing conditional variables.

PR: 72922
Submitted by: Andriy Gapon <avg@icyb.net.ua>
MFC after: 2 weeks

19 years agoSemctl with IPC_STAT command should return zero in case of success.
sobomax [Fri, 11 Feb 2005 13:46:55 +0000 (13:46 +0000)]
Semctl with IPC_STAT command should return zero in case of success.

PR: 73778
Submitted by: Andriy Gapon <avg@icyb.net.ua>
MFC after: 2 weeks

19 years agoConvert several instances of negative logic to positive logic.
harti [Fri, 11 Feb 2005 10:49:01 +0000 (10:49 +0000)]
Convert several instances of negative logic to positive logic.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMake non-SOFTUPDATES kernels compile again.
phk [Fri, 11 Feb 2005 08:13:31 +0000 (08:13 +0000)]
Make non-SOFTUPDATES kernels compile again.

Integrate the stubfile into the main file now that license issues have been
long resolved.

19 years agoDiff reduction with p4.
imp [Fri, 11 Feb 2005 07:50:03 +0000 (07:50 +0000)]
Diff reduction with p4.

19 years agoExpand BSS.
obrien [Fri, 11 Feb 2005 07:37:25 +0000 (07:37 +0000)]
Expand BSS.

19 years agoImprove EOS handling.
phk [Fri, 11 Feb 2005 06:57:02 +0000 (06:57 +0000)]
Improve EOS handling.

19 years agoEliminate the ED_VENDOR_{PCCARD,LINKSYS} types. These cards really
imp [Fri, 11 Feb 2005 06:02:27 +0000 (06:02 +0000)]
Eliminate the ED_VENDOR_{PCCARD,LINKSYS} types.  These cards really
are NOVELL NE2000 with just a tiny quirk that's non vendor specific.
Instead, use the chip_type of DL100XX instead.  This is more inline
with how the AX88190 support was added, and seems a little cleaner.

19 years agoSkip PNP probes. If there are isapnp or pnpbios instances of this driver,
imp [Fri, 11 Feb 2005 03:56:13 +0000 (03:56 +0000)]
Skip PNP probes.  If there are isapnp or pnpbios instances of this driver,
then we can support them later.  This keeps the pbio probe from claiming
lots of otherwise unused pnpbios devices on my laptop.

19 years agoFix build error (s/wd80x3.c/if_ed_wd80x3.c/).
nyan [Fri, 11 Feb 2005 03:44:03 +0000 (03:44 +0000)]
Fix build error (s/wd80x3.c/if_ed_wd80x3.c/).

19 years agoMerged from sys/dev/sio/sio.c revision 1.458.
nyan [Fri, 11 Feb 2005 03:41:34 +0000 (03:41 +0000)]
Merged from sys/dev/sio/sio.c revision 1.458.

19 years agoMerge in patch to support AP scanning via ifconfig and the new
wpaul [Fri, 11 Feb 2005 02:13:12 +0000 (02:13 +0000)]
Merge in patch to support AP scanning via ifconfig and the new
net80211 API.

Submitted by: Stephane E. Potvin sepotvin at videotron dot ca

19 years agoAdjust TX threshold on every TX underrun. Some supported cards (8139-based)
mlaier [Fri, 11 Feb 2005 01:05:52 +0000 (01:05 +0000)]
Adjust TX threshold on every TX underrun.  Some supported cards (8139-based)
can retransmit on TX underrun and set TOK in addition to TUND.  Also add a
check to prevent overflow of the addressable threshold.

This fixes some reports of rl(4) slowness, believed to be related to ALTQ
before.

PR: kern/61448
Submitted by: Tim Draegen-Gilman <timNOeudaemonSPAMnet> (with changes)
MFC after: 1 week

19 years agoWhen processing a timeout() callout and returning it to the free
iedowse [Fri, 11 Feb 2005 00:14:00 +0000 (00:14 +0000)]
When processing a timeout() callout and returning it to the free
list, set `curr_callout' to NULL. This ensures that we won't attempt
to cancel the current callout if the original callout structure
gets recycled while we wait to acquire Giant.

This is reported to fix an intermittent syscons problem that was
introduced by revision 1.96.

19 years agoMove enable/disable 16bit access routines into if_ed. Slightly
imp [Thu, 10 Feb 2005 23:48:13 +0000 (23:48 +0000)]
Move enable/disable 16bit access routines into if_ed.  Slightly
pessmize the error recover path through edintr by calling these
functions, rather than expanding it inline.  This error path already
does a lot in it, so an extra function call will be lost in the noise.
It also happens rarely.

19 years agouse
imp [Thu, 10 Feb 2005 23:31:27 +0000 (23:31 +0000)]
use
while (complicated-expr)
continune;
in preference to
while (complicated-expr);

since the code generated is identical, and the former is easier to read,
especially for complicated-expr that reach to the end of the line...

19 years agoRemove lots of tab/space errors introduced by massive cut-n-paste action.
julian [Thu, 10 Feb 2005 22:38:51 +0000 (22:38 +0000)]
Remove lots of tab/space errors introduced by massive cut-n-paste action.

Noticed from: diffs of the last commit.
MFC after: 1 week

19 years agoImplement support for buffers larger than PAGE_SIZE in MemGuard. Adds
bmilekic [Thu, 10 Feb 2005 22:36:05 +0000 (22:36 +0000)]
Implement support for buffers larger than PAGE_SIZE in MemGuard.  Adds
a little bit of complexity but performance requirements lacking (this is
a debugging allocator after all), it's really not too bad (still
only 317 lines).

Also add an additional check to help catch really weird 3-threads-involved
races: make memguard_free() write to the first page handed back, always,
before it does anything else.

Note that there is still a problem in VM+PMAP (specifically with
vm_map_protect) w.r.t. MemGuard uses it, but this will be fixed shortly
and this change stands on its own.

19 years agoTake into account that Pinnacle screwed up their PCI ID in the beginning..
julian [Thu, 10 Feb 2005 22:26:28 +0000 (22:26 +0000)]
Take into account that Pinnacle screwed up their PCI ID in the beginning..
Older cards have it reversed.
Also, use some already defined values instead of magic numbers.

PR:  73324
Submitted by: arne_woerner@yahoo.com
MFC after: 1 week

19 years agoOptimize the way reference counting is performed with Mbufs. We
bmilekic [Thu, 10 Feb 2005 22:23:02 +0000 (22:23 +0000)]
Optimize the way reference counting is performed with Mbufs.  We
do not need to perform an extra memory fetch in the Packet (Mbuf+Cluster)
constructor to initialize the reference counter anymore.  The reference
counts are located in a separate memory region (in the slab header,
because this zone is UMA_ZONE_REFCNT), so the memory fetch resulted very
often in a cache miss.  Additionally, and perhaps more significantly,
optimize the free mbuf+cluster (packet) case, which is very common, to
no longer require an atomic operation on free (to verify the reference
counter) if the reference on the cluster has never been increased (also
very common).  Reduces an atomic on mbuf free on average.

Original patch submitted by: Gerrit Nagelhout <gnagelhout@sandvine.com>

19 years agobump the Makefile config versions now that config is 600001...
jmg [Thu, 10 Feb 2005 21:15:31 +0000 (21:15 +0000)]
bump the Makefile config versions now that config is 600001...

Forgotten by: des

19 years agoAdd strspn() to libkern.
glebius [Thu, 10 Feb 2005 20:39:39 +0000 (20:39 +0000)]
Add strspn() to libkern.

Ok'ed by: rwatson

19 years agoDeclare "cnt" (a number of bytes to read or write) as an "ssize_t", not
cperciva [Thu, 10 Feb 2005 20:19:17 +0000 (20:19 +0000)]
Declare "cnt" (a number of bytes to read or write) as an "ssize_t", not
as a "long" in dofileread() and dofilewrite().

Discussed with: jhb

19 years agoread(), pread(), write(), and pwrite() return EINVAL if they are asked
cperciva [Thu, 10 Feb 2005 20:09:01 +0000 (20:09 +0000)]
read(), pread(), write(), and pwrite() return EINVAL if they are asked
for more than INT_MAX bytes.

19 years ago1. Revert back to the way the older driver handled XPT_PATH_INQ. This seems to
vkashyap [Thu, 10 Feb 2005 18:07:33 +0000 (18:07 +0000)]
1. Revert back to the way the older driver handled XPT_PATH_INQ.  This seems to
   fix the problem with device discovery seen by some people.
2. Change to make 3ware CLI/3DM work on amd64.
3. Fix a potential problem that could cause the driver to do strlen(NULL) when
   using older firmware.

Reviewed by:scottl

19 years agoBuffers are already NUL-terminated so there is no need to explicitely add
harti [Thu, 10 Feb 2005 17:01:46 +0000 (17:01 +0000)]
Buffers are already NUL-terminated so there is no need to explicitely add
a NULL.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agorev 1.19 fixed wpa supplicant but broke wpa authenticator; when operating
sam [Thu, 10 Feb 2005 17:00:48 +0000 (17:00 +0000)]
rev 1.19 fixed wpa supplicant but broke wpa authenticator; when operating
as an authenticator need to always check for the unicast key in the node
(as was the case before)

Submitted by: Divy Le Ray

19 years agoMostly stylistic nits in preparation for splitting up Var_Parse:
harti [Thu, 10 Feb 2005 17:00:16 +0000 (17:00 +0000)]
Mostly stylistic nits in preparation for splitting up Var_Parse:
use a more consistent style with regard to *str and str[0];
simplify code by introducing a temporary variable;
shift a break around and add braces where appropriate.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agopropagate state kept in the bss node when re-creating the node
sam [Thu, 10 Feb 2005 16:59:04 +0000 (16:59 +0000)]
propagate state kept in the bss node when re-creating the node
on state transitions; this is a stopgap measure, need to rethink
how we do management of this state

Identified by: Divy Le Ray

19 years agoFixed usage().
ru [Thu, 10 Feb 2005 16:07:23 +0000 (16:07 +0000)]
Fixed usage().

19 years agoRequire at least one argument.
ru [Thu, 10 Feb 2005 16:04:22 +0000 (16:04 +0000)]
Require at least one argument.

19 years agoBump the version number for the addition of devices / nodevices.
des [Thu, 10 Feb 2005 15:16:25 +0000 (15:16 +0000)]
Bump the version number for the addition of devices / nodevices.

19 years agoLet the buffer just use the default size by specifying 0 as the size
harti [Thu, 10 Feb 2005 14:53:29 +0000 (14:53 +0000)]
Let the buffer just use the default size by specifying 0 as the size
instead of specifying the default size explicitely.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMark the modification of the input string (which should really be const)
harti [Thu, 10 Feb 2005 14:52:14 +0000 (14:52 +0000)]
Mark the modification of the input string (which should really be const)
with a comment.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoStyle nits:
harti [Thu, 10 Feb 2005 14:50:34 +0000 (14:50 +0000)]
Style nits:
Move some assignments nearer to where they actually used. Convert a loop
from a for() to a while() to make it clearer and add braces to the long
body of it. Split assignment from variable declaration.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoSync program's usage() with manpage's SYNOPSIS.
ru [Thu, 10 Feb 2005 14:47:06 +0000 (14:47 +0000)]
Sync program's usage() with manpage's SYNOPSIS.

19 years agoDescribe a pre-condition of Var_Parse().
harti [Thu, 10 Feb 2005 14:43:22 +0000 (14:43 +0000)]
Describe a pre-condition of Var_Parse().

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoRemove a comment that's not actual anymore.
harti [Thu, 10 Feb 2005 14:41:22 +0000 (14:41 +0000)]
Remove a comment that's not actual anymore.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoFix spacing by converting mixes of space and tab to tab. Also add a number
harti [Thu, 10 Feb 2005 14:39:05 +0000 (14:39 +0000)]
Fix spacing by converting mixes of space and tab to tab. Also add a number
of empty lines in appropriate places.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoInitialise the status variable. W_SETTERMSIG uses its value.
harti [Thu, 10 Feb 2005 14:32:14 +0000 (14:32 +0000)]
Initialise the status variable. W_SETTERMSIG uses its value.

Submitted by: stefanf

19 years agoFully document (no)?(device|option)s?.
des [Thu, 10 Feb 2005 14:26:21 +0000 (14:26 +0000)]
Fully document (no)?(device|option)s?.

This page should probably be repocopied to src/usr.sbin/config/.

19 years agoLst_Append returns void, so the other case of the ? statement
harti [Thu, 10 Feb 2005 14:25:12 +0000 (14:25 +0000)]
Lst_Append returns void, so the other case of the ? statement
should also be void.

Submitted by: stefanf

19 years agoUpdate a little bit.
phk [Thu, 10 Feb 2005 12:47:55 +0000 (12:47 +0000)]
Update a little bit.

19 years agoFull modernize cleanup:
delphij [Thu, 10 Feb 2005 12:43:16 +0000 (12:43 +0000)]
Full modernize cleanup:
- De-__P()
- constify where appropriate
- ANSI functions instead of K&R

Pointed out by: stefanf

19 years agoMake various vnode related functions static
phk [Thu, 10 Feb 2005 12:28:58 +0000 (12:28 +0000)]
Make various vnode related functions static

19 years agoMake some file/filedesc related functions static
phk [Thu, 10 Feb 2005 12:27:58 +0000 (12:27 +0000)]
Make some file/filedesc related functions static

19 years agoMake M_NETGRAPH_ETF static
phk [Thu, 10 Feb 2005 12:26:57 +0000 (12:26 +0000)]
Make M_NETGRAPH_ETF static

19 years agoMake various mountpoint related functions static.
phk [Thu, 10 Feb 2005 12:25:38 +0000 (12:25 +0000)]
Make various mountpoint related functions static.

19 years agoMake a SYSCTL_NODE static
phk [Thu, 10 Feb 2005 12:23:29 +0000 (12:23 +0000)]
Make a SYSCTL_NODE static

19 years agoMD5Pad() should never have been exposed.
phk [Thu, 10 Feb 2005 12:20:42 +0000 (12:20 +0000)]
MD5Pad() should never have been exposed.

19 years agoMake a some SYSCTL_NODEs and some of FFS's VFS_ methods static.
phk [Thu, 10 Feb 2005 12:20:08 +0000 (12:20 +0000)]
Make a some SYSCTL_NODEs and some of FFS's VFS_ methods static.

19 years agoMake three SYSCTL_NODEs static
phk [Thu, 10 Feb 2005 12:18:36 +0000 (12:18 +0000)]
Make three SYSCTL_NODEs static

19 years agoMake npages static and const.
phk [Thu, 10 Feb 2005 12:18:17 +0000 (12:18 +0000)]
Make npages static and const.

19 years agomake cluster_callback() static
phk [Thu, 10 Feb 2005 12:17:48 +0000 (12:17 +0000)]
make cluster_callback()  static

19 years agoMake a SYSCTL_NODE and a mutex static
phk [Thu, 10 Feb 2005 12:16:42 +0000 (12:16 +0000)]
Make a SYSCTL_NODE and a mutex static

19 years agoMake another bunch of SYSCTL_NODEs static
phk [Thu, 10 Feb 2005 12:16:08 +0000 (12:16 +0000)]
Make another bunch of SYSCTL_NODEs static

19 years agoMake a bunch of SYSCTL_NODEs static.
phk [Thu, 10 Feb 2005 12:15:49 +0000 (12:15 +0000)]
Make a bunch of SYSCTL_NODEs static.

19 years agoMake various random things static
phk [Thu, 10 Feb 2005 12:10:35 +0000 (12:10 +0000)]
Make various random things static

19 years agomake M_NTFSMNT and ntfs_calccfree() static
phk [Thu, 10 Feb 2005 12:09:49 +0000 (12:09 +0000)]
make M_NTFSMNT and ntfs_calccfree() static

19 years agoMake fdesc_root static
phk [Thu, 10 Feb 2005 12:09:15 +0000 (12:09 +0000)]
Make fdesc_root static

19 years agoStatification
phk [Thu, 10 Feb 2005 12:08:55 +0000 (12:08 +0000)]
Statification

19 years agoMake smbfs_debuglevel private.
phk [Thu, 10 Feb 2005 12:07:02 +0000 (12:07 +0000)]
Make smbfs_debuglevel private.

19 years agodon't call vprint with NULL.
phk [Thu, 10 Feb 2005 12:06:34 +0000 (12:06 +0000)]
don't call vprint with NULL.

19 years agoStatize malloc types.
phk [Thu, 10 Feb 2005 12:05:06 +0000 (12:05 +0000)]
Statize malloc types.
Don't call vprint with NULL.

19 years agoStatize devfs_ops_f
phk [Thu, 10 Feb 2005 12:04:26 +0000 (12:04 +0000)]
Statize devfs_ops_f

19 years agoMake a bunch of malloc types static.
phk [Thu, 10 Feb 2005 12:02:37 +0000 (12:02 +0000)]
Make a bunch of malloc types static.

Found by: src/tools/tools/kernxref

19 years ago"device" and "nodevice" lines can actually specify more than one device
des [Thu, 10 Feb 2005 10:46:27 +0000 (10:46 +0000)]
"device" and "nodevice" lines can actually specify more than one device
(separated by commas), so add "devices" and "nodevices" as aliases.

MFC after:  2 weeks

19 years agoback out 1.7 changes, unneeded and possibly wrong.
alfred [Thu, 10 Feb 2005 10:44:29 +0000 (10:44 +0000)]
back out 1.7 changes, unneeded and possibly wrong.

19 years agoNote that the ICH6 controller is supported.
jkoshy [Thu, 10 Feb 2005 10:31:32 +0000 (10:31 +0000)]
Note that the ICH6 controller is supported.

Reviewed by: sos

19 years agoSync program's usage() with manpage's SYNOPSIS.
ru [Thu, 10 Feb 2005 09:39:51 +0000 (09:39 +0000)]
Sync program's usage() with manpage's SYNOPSIS.

19 years agoSync program's usage() with manpage's SYNOPSIS.
ru [Thu, 10 Feb 2005 09:19:34 +0000 (09:19 +0000)]
Sync program's usage() with manpage's SYNOPSIS.

19 years agoTurn K&R functions into prototypes.
stefanf [Thu, 10 Feb 2005 09:13:20 +0000 (09:13 +0000)]
Turn K&R functions into prototypes.

19 years agoThe variable `ROOTKEY' has internal linkage in keyserv.c, don't declare it as
stefanf [Thu, 10 Feb 2005 09:09:18 +0000 (09:09 +0000)]
The variable `ROOTKEY' has internal linkage in keyserv.c, don't declare it as
extern here.

19 years agoThe variable `arglist' has internal linkage in pw.c, don't declare it as extern
stefanf [Thu, 10 Feb 2005 09:05:27 +0000 (09:05 +0000)]
The variable `arglist' has internal linkage in pw.c, don't declare it as extern
here.

19 years agoTurn K&R functions into prototypes.
stefanf [Thu, 10 Feb 2005 09:00:55 +0000 (09:00 +0000)]
Turn K&R functions into prototypes.

19 years agoAdd __printflike() to vn_printf()
phk [Thu, 10 Feb 2005 08:55:40 +0000 (08:55 +0000)]
Add __printflike() to vn_printf()

19 years agoDon't pass NULL to vprint()
phk [Thu, 10 Feb 2005 08:55:08 +0000 (08:55 +0000)]
Don't pass NULL to vprint()

19 years agoLet the generated code include <string.h> instead of <memory.h>.
stefanf [Thu, 10 Feb 2005 08:12:38 +0000 (08:12 +0000)]
Let the generated code include <string.h> instead of <memory.h>.

19 years agoCode cleanup:
delphij [Thu, 10 Feb 2005 07:07:32 +0000 (07:07 +0000)]
Code cleanup:
- Prefer modern declaration of functions
- WARNS?= 4 -> 6

19 years agoExtricate probing of the gwether card (Gateway AT) from the middle of
imp [Thu, 10 Feb 2005 06:09:03 +0000 (06:09 +0000)]
Extricate probing of the gwether card (Gateway AT) from the middle of
probing the novell ne[12]000 cards.  It should be its own thing, ala
how we do the dl100xx support doing its own thing at the right time.
For the moment, it is just a function, which makes the mainline of the
generic probe easier to follow.

Also, correct a couple of comments that looked wrong.

# there may be a bug in setting up gwether, in that we set
# sc->rec_page_stop based on memsize, rather than sc->mem_size, so if
# these two are different, then the rec_page_stop will be wrong.  I'm
# hesitant to fix it without real hardware to test with.  Since
# gwether isn't in the hardware list of the man page nor in the commit
# messages, it is hard to know for sure.

19 years agoRemove an ifdef that's been here for a long time. So long, in fact,
imp [Thu, 10 Feb 2005 05:34:25 +0000 (05:34 +0000)]
Remove an ifdef that's been here for a long time.  So long, in fact,
that it references a function parameter that's not been passed in for
more than 4 years.

This has been if 0'd since 1994.

19 years agoFix incorrect comment.
archie [Thu, 10 Feb 2005 02:43:26 +0000 (02:43 +0000)]
Fix incorrect comment.

Submitted by: James Bowman <jamesb@acelere.net>

19 years ago - Add more information to the getnewbuf() recycling KTR.
jeff [Thu, 10 Feb 2005 02:22:56 +0000 (02:22 +0000)]
 - Add more information to the getnewbuf() recycling KTR.

Sponsored by: Isilon Systems, Inc.

19 years agoImplement interrupt routing for DEC_KN20AA.
ticso [Thu, 10 Feb 2005 00:35:31 +0000 (00:35 +0000)]
Implement interrupt routing for DEC_KN20AA.

Tested by: wilko
MFC after: 2 weeks

19 years ago - In the softupdates case for ffs_truncate() we use vinvalbuf() to
jeff [Wed, 9 Feb 2005 23:05:20 +0000 (23:05 +0000)]
 - In the softupdates case for ffs_truncate() we use vinvalbuf() to
   invalidate pending io and dependencies.  However, vinvalbuf() rightfully
   does not call vnode_pager_setsize() for us.  We must do this here.  This
   could potentially have caused numerous kinds of bugs, but it was
   specifically causing msync() deadlocks because msync() was writing
   flushing pages that should not have been valid.

Sponsored by: Isilon Systems, Inc.
Reported by: kkenn

19 years agoFix pc98 compile: merge in changes to use the local APIC timer. Also, add
jhb [Wed, 9 Feb 2005 22:48:22 +0000 (22:48 +0000)]
Fix pc98 compile: merge in changes to use the local APIC timer.  Also, add
missing initialization of i8254_intsrc while I am here.

19 years ago- Correctly spell MOD_QUIESCE
glebius [Wed, 9 Feb 2005 22:06:16 +0000 (22:06 +0000)]
- Correctly spell MOD_QUIESCE
- use .Dv for it

MFC after: 3 days

19 years agoMinor nits noted by ru@
imp [Wed, 9 Feb 2005 21:23:48 +0000 (21:23 +0000)]
Minor nits noted by ru@

19 years agoConstify.
phk [Wed, 9 Feb 2005 20:56:32 +0000 (20:56 +0000)]
Constify.

19 years agoSync program's usage() with manpage's SYNOPSIS.
ru [Wed, 9 Feb 2005 20:36:12 +0000 (20:36 +0000)]
Sync program's usage() with manpage's SYNOPSIS.