rwatson [Wed, 11 Jun 2003 06:38:24 +0000 (06:38 +0000)]
Add "-n" argument, which causes mdconfig to simply print the unit
number X, rather than mdX, making it easier to script tests that
use md devices but don't want to make assumptions about any existing
md use (such as in diskless environments).
ps [Wed, 11 Jun 2003 05:18:59 +0000 (05:18 +0000)]
Don't overflow when calculating vm_kmem_size. This fixes kmem_map
too small panics on PAE machines which have odd > 4GB sizes (4.5 gig
would render a 20MB of KVA for kmem_map instead of 200MB).
Submitted by: John Cagle <john.cagle@hp.com>, jeff
Reviewed by: jeff, peter, scottl, lots of USENIX folks
alc [Tue, 10 Jun 2003 20:28:41 +0000 (20:28 +0000)]
- Finish vm object and page locking in vnode_pager_setsize().
- Make some small style changes to vnode_pager_setsize(); most notably,
move two comments to a more logical place.
tmm [Tue, 10 Jun 2003 18:53:15 +0000 (18:53 +0000)]
- Add manpages for the gem and hme ethernet drivers. These were obtained
from NetBSD, and changed slightly to account for FreeBSD specifics.
- Hook them up to the build.
- Add them to the list of miibus-using drivers in miibus(4).
yar [Tue, 10 Jun 2003 15:38:35 +0000 (15:38 +0000)]
Coding style fix: Use "foo = 1" instead of "foo++" to assign
the truth value to a boolean variable, especially when inside
a loop. The variable can overflow otherwise, at least in theory.
yar [Tue, 10 Jun 2003 14:46:43 +0000 (14:46 +0000)]
General mdoc(7) markup fixes:
- Use .Va, not .Em, to mark up variable-like identifiers
(capability and database entry names.)
- Stop abusing .Tn (trademark) to emphasize general phrases.
- Spot unmarked capability references.
- Add a missing line break.
yar [Tue, 10 Jun 2003 14:20:38 +0000 (14:20 +0000)]
Improve the language and markup of the description of the pp and pl
capabilities:
- Mark up capability identifiers.
- Don't squeeze much text into the capability table given the options
will be described below in detail.
- Keep the capability table sorted.
- Use a consistent term for a PPP login program.
davidxu [Tue, 10 Jun 2003 02:21:32 +0000 (02:21 +0000)]
If there are signals delivered to current thread, breaks out of loop,
userret() will be called again by ast() and thread_userret() will be
called again by userret().
bmah [Mon, 9 Jun 2003 22:33:19 +0000 (22:33 +0000)]
Grrr. We're going to maintain the present errata file until
5.2-RELEASE. Use SGML entity as we should for this version instead of
a hard-coded "5.1-RELEASE".
Remove embededded ID string which was meant to provide information
about the driver version in case of an error report. It conflicts with
some other variable of the same name that has been added to the kernel
just recently and there haven't been any bug reports for quite some
time now, anyway ...
jhb [Mon, 9 Jun 2003 21:46:22 +0000 (21:46 +0000)]
Wait for the real interval timer callout handler to finish executing if it
is currently executing when we try to remove it in exit1(). Without this,
it was possible for the callout to bogusly rearm itself and eventually
refire after the process had been free'd resulting in a panic.
charnier [Mon, 9 Jun 2003 19:21:35 +0000 (19:21 +0000)]
Revert previous commit, from Bruce:
This is a style bug. err() is declared is non-returning so that every
use of it doesn't need to be encrufted with NOTREACHED. It's too bad
that only gcc understands the declaration.