Commit Graph

180605 Commits

Author SHA1 Message Date
cegger
6ee74bfd56 struct device * -> device_t, no functional changes intended. 2009-05-07 08:03:23 +00:00
cegger
602c27254b use device_private() 2009-05-07 07:56:03 +00:00
cegger
930db79c5b struct device * -> device_t, no functional changes intended. 2009-05-07 07:33:05 +00:00
lukem
bb51419c1e Add reminder to confirm the ffs format using dumpfs(8). 2009-05-07 07:09:49 +00:00
lukem
7c56c3165d refer to FFSv1 instead of UFSv1 2009-05-07 07:03:39 +00:00
lukem
87a1d67eda Consistently use FFSv1 or FFSv2 2009-05-07 06:56:56 +00:00
lukem
51d7a18bc6 Use "FFSv2" instead of "UFS2".
Expand the description of -c.
Xref dumpfs.
2009-05-07 06:54:23 +00:00
jdc
c10e3b28bd Add extra counter definitions (pointed out by Geoff Wing). 2009-05-07 06:46:54 +00:00
skrll
51ddbaac30 Wrap some wide comments. 2009-05-07 06:41:19 +00:00
lukem
18f0896759 Display the superblock format as the second line ("FFSv1" or "FFSv2").
No need to display the magic format further down.
2009-05-07 06:40:38 +00:00
dholland
f76e5aa298 Fix typo, from Shannon -jj Behrens in PR 41375. 2009-05-07 06:29:07 +00:00
cegger
73144fe522 device_t/softc split
patch presented on tech-kern@, no comments on it
2009-05-07 06:08:02 +00:00
snj
63d43c9446 Add an entry for 5.1. 2009-05-07 00:37:30 +00:00
roy
b49ed2c029 Make 3 attempts at bootp before trying bootparams which allows slow
bridges a chance to work.
Clear variables when changing bootp/bootparams.
Displayed variables are cleaned up so they don't overflow the right of
the screen.

ok: martin
2009-05-07 00:01:31 +00:00
roy
235c0d4ef6 We should check for potential overflows.
ok: martin
2009-05-06 23:56:49 +00:00
ad
b5dc34151d Unneeded LK_CANRECURSE. 2009-05-06 22:38:42 +00:00
ad
6977231a34 G/C reference to LK_CANRECURSE. 2009-05-06 22:38:31 +00:00
elad
8f15ad8a37 Provide privilege checking code snippets for all significant NetBSD
versions: < 2 (suser, proc), 2 & 3 (suser, lwp), >= 4 (kauth, lwp).

No functional change as it's all inside a big comment.
2009-05-06 22:17:41 +00:00
elad
4188b89914 Remove some usage of "priv" and "privileged" variables and instead pass
around credentials. Also push down kauth(9) calls closer to where the
operation is done.

Mailing list reference:

	http://mail-index.netbsd.org/tech-net/2009/04/30/msg001270.html
2009-05-06 21:41:59 +00:00
mhitch
6c4dd62a45 Add __insn_barrier() to _splset(). See also kern/38637. 2009-05-06 21:41:58 +00:00
mhitch
0742f912f5 Add memory clobber to the instructions that change the IPL in the status
register.  See also kern/38637.
2009-05-06 21:37:40 +00:00
elad
aedd27810d Sprinkle some switch defaults. 2009-05-06 21:10:22 +00:00
jdc
6e8d1a982c Check for internal PHY first, so that it always attaches first, even when
we have an MII transeiver attached.
Count all collision and error counters.
Handle counter overflow and RXTERR.

Tested on U60 HME, PCI HME (501-5019) and SBus Sunswift (501-2739)
2009-05-06 20:40:19 +00:00
elad
105d9a093d Replace curlwp->l_cred with kauth_cred_get().
Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/05/05/msg005038.html
2009-05-06 18:41:54 +00:00
cegger
af1172fad0 device_t/softc split
tested by jakllsch@
2009-05-06 18:25:28 +00:00
rmind
4ef6600a51 Revert previous until problem will be understood. 2009-05-06 16:43:47 +00:00
ginsbach
402888a49b rpcgen now supports hyper and quad keywords 2009-05-06 14:35:41 +00:00
ginsbach
3cad8d1d2c Add support for hyper and quad keywords. (See Sun ONC+ Developer's Guide
and RFC-4506 for additional details.)  [From FreeBSD and OpenSolaris]
2009-05-06 14:30:51 +00:00
agc
5b5e53256c Make it obvious what the pointer refers to, rather than its type. 2009-05-06 14:26:12 +00:00
cegger
a591bc88dd struct device * -> device_t, no functional changes intended. 2009-05-06 10:34:32 +00:00
cegger
6b9f9b8644 use device_private() 2009-05-06 09:32:52 +00:00
cegger
59717d7121 struct cfdata * -> cfdata_t, no functional changes intended. 2009-05-06 09:25:14 +00:00
mrg
8afa110c2d enable xft for xdm. from yorick hardy. 2009-05-06 08:49:37 +00:00
wiz
fc61954d0b Remove leading zero in Dd argument. 2009-05-06 08:26:43 +00:00
cegger
3261738b4d struct cfdata * -> cfdata_t, no functional changes intended. 2009-05-06 08:20:49 +00:00
cegger
6d542a9a5c add KASSERT to identify when PR kern/40734 happens again.
It happened to me twice and to Emmanuel Dreyfus (reported on port-amd64 ML)
2009-05-06 07:27:42 +00:00
agc
0c31095918 More cosmetic changes, no functional differences. 2009-05-06 07:01:43 +00:00
cegger
a531bda091 correct previous: use %zu for BOOTP_SIZE_(MIN,MAX).
Pointed out by David Holland
2009-05-06 05:34:12 +00:00
agc
3326c4c54b Change some names to something a bit less obscure.
e.g. For some unfathomable reason, I find "__ops_write_mem_from_file" a bit
counterintuitive - replace that by "__ops_fileread"
2009-05-06 03:02:02 +00:00
ginsbach
37a52c5f7b Change getdate() to getdatestr() since the former maybe present on systems
supporting X/Open System Interfaces Extension (XSI) getdate() in <time.h>.
This prevents a function prototype conflict.
2009-05-06 02:59:12 +00:00
cube
0f7746f7cc Bump required config(1) version after files.drm changes [hi mrg!]. 2009-05-06 02:52:13 +00:00
mrg
a35a651446 you can now easily select trying external drm with "options DRM_EXTERNAL". 2009-05-06 01:33:24 +00:00
mrg
a2836b8e54 avoid a warning seen with -O3. 2009-05-06 01:32:37 +00:00
macallan
98c856f101 enable ZX/Leo since we now support wscons on it 2009-05-05 23:58:50 +00:00
macallan
08f5b97b95 clear screen on attach 2009-05-05 23:55:04 +00:00
cegger
52b1d2aee7 struct cfdata * -> cfdata_t 2009-05-05 21:47:49 +00:00
cegger
3d240405ea CFATTACH_DECL3 is no longer used.
ok dyoung@
2009-05-05 21:40:25 +00:00
dyoung
e470d88889 Change struct cfdata * to cfdata_t. No functional change intended. 2009-05-05 21:34:13 +00:00
cegger
4474fa75b2 device_t/softc split
tested by and ok dyoung@
2009-05-05 21:33:21 +00:00
elad
b50c4b9e09 Add device scope actions for rnd(4) and use them.
Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004953.html
2009-05-05 21:03:28 +00:00