Commit Graph

133996 Commits

Author SHA1 Message Date
agc f27acbf4fc Make this compile after the de-__Ping round. 2005-02-06 17:30:33 +00:00
skrll b48e30cb2e Initialize 'error' in all cases in ioctl handler, otherwise it doesn't
compile (and of course might return garbage).  [hi kim!]
2005-02-06 09:33:23 +00:00
cube d16fd94009 Initialize 'error' in all cases in ioctl handler, otherwise it doesn't
compile (and of course might return garbage).  [hi kim!]
2005-02-06 08:52:08 +00:00
perry 5c9f370160 remove obsolete "register" declarations. 2005-02-06 06:13:47 +00:00
perry 251f7f5990 ANSIfy a function declaration, remove obsolete "register" declarations. 2005-02-06 06:13:12 +00:00
perry 72f1c263c6 ANSIfy a function declaration, remove obsolete "register" declaration. 2005-02-06 06:07:12 +00:00
perry dd334ae584 de-__P, remove obsolete "register" declarations. 2005-02-06 06:05:18 +00:00
perry 4b90129081 de-__P, ANSIfy function declarations, remove obsolete "register" declarations. 2005-02-06 05:58:20 +00:00
perry 4fcf86857c de-__P (really de-P) 2005-02-06 05:53:07 +00:00
perry 0f3d05ee54 remove unneeded definition of "P" macro 2005-02-06 05:52:25 +00:00
perry 252786f3ee de-__P (really de-P), and fix the broken prototype for printsub 2005-02-06 05:48:23 +00:00
perry 4c57dc9906 de-__P, ANSIfy function declarations, remove obsolete "register" declarations. 2005-02-06 05:11:52 +00:00
perry d34cc2ba13 de-__P, ANSIfy function declarations, remove obsolete "register" declarations 2005-02-06 05:00:46 +00:00
perry 9cdb3caf29 remove obsolete register declarations. 2005-02-06 04:56:27 +00:00
perry d777c795fa ANSIfy function declaration, remove register declarations, and some
minor KNFing.
2005-02-06 04:52:53 +00:00
perry 1ef7bd2aae de-__P, ANSIfy function declarations, remove an obsolete register declaration. 2005-02-06 04:48:58 +00:00
perry 3fa24d7834 remove obsolete register declarations 2005-02-06 04:43:43 +00:00
perry fc7ef6c165 remove obsolete register declarations. 2005-02-06 04:41:40 +00:00
perry bbac53bdab Remove "register" from a comment. Kind of silly for it to have been
listed as a parameter for a function anyway...
2005-02-06 04:40:51 +00:00
perry ee5442c7d9 remove obsolete "register" declarations 2005-02-06 04:38:18 +00:00
kim f045f7096d If the interface is up and running, only modify the receive filter
when setting promiscuous or debug mode.  This avoids resetting the
chip unnecessarily.

Fixes PR kern/29126.
2005-02-06 03:15:14 +00:00
tsutsui ad494d3b04 Change u_int -> uint32_t, u_char,char -> uint8_t where appropriate. 2005-02-06 02:58:15 +00:00
tsutsui a60e4db92a Oops, backout previous. They are actually needed there. 2005-02-06 02:56:15 +00:00
tsutsui 79969e68f2 Remove function decls which are in <machine/intr.h> 2005-02-06 02:40:14 +00:00
tsutsui 521796afe7 - remove __P()
- use do{}while(0) and remove register decl for DELAY() macro
2005-02-06 02:39:21 +00:00
tsutsui 6930b9d38b one more u_intNN_t -> uintNN_t 2005-02-06 02:36:01 +00:00
oster 04a30b5e78 It's not a bad idea to update the component labels whether or not the
reconstruction was successful.
2005-02-06 02:29:36 +00:00
tsutsui fd4afa037b Misc cleanup:
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.
2005-02-06 02:18:02 +00:00
oster 00b2fb8253 CreateDiskQueueData() doesn't need to use void * for raidPtr.
RF_Raid_t is well known in RF, and there's no reason not to use it here.
2005-02-05 23:53:44 +00:00
chs 86688c638a always map kernel text read-only. 2005-02-05 23:50:05 +00:00
chs 42c10f81be remove some leftover references to a.out symbol names. 2005-02-05 23:48:49 +00:00
oster 339f61b703 rf_GetNextReconEvent() *will* return a valid event, so no need for
the assert.  (we'd have panic'ed in there long before this assert
if that wasn't the case).

Minor whitespace changes.
2005-02-05 23:39:12 +00:00
oster 8ea3f15338 Cleanup function prototypes. 2005-02-05 23:35:33 +00:00
oster c38bce14f6 Vastly improve the error handling in the case of a read/write error
that occurs during a reconstruction.  We go from zero error handling
and likely panicing if something goes amiss, to gracefully bailing and
leaving the system in the best, usable state possible.

- introduce rf_DrainReconEventQueue() to allow easy cleaning of the
reconstruction event queue

- change how we cleanup the floating recon buffers in
rf_FreeReconControl().  Detect the end of the list rather
than traversing according to a count.

- keep track of the number of pending reconstruction writes.  In the
event of a read error, use this to wait long enough for the pending
writes to (hopefully) drain.

- more cleanup is still needed on this code, but I didn't want to
start mixing major functional changes with minor cleanups.

XXX: There is a known issue with pool items left outstanding due to
the IO failure, and this can show up in the form of a panic at the
tail end of a shutdown.  This problem is much less severe than before
these changes, and the hope/plan is that this problem will go away
once this code gets overhauled again.
2005-02-05 23:32:43 +00:00
jmmv 1205cb9e5b Let's note the addition of the -r option to groupadd(8). 2005-02-05 20:19:00 +00:00
yamt f452d81842 we don't have gzopenfull or gzdopenfull anymore. 2005-02-05 16:37:37 +00:00
yamt 97bb1b498d revert zlib.h rev.1.15 (gzopenfull and gzdopenfull)
as gzio.c counterpart has been reverted.
2005-02-05 16:37:03 +00:00
chs 37436571dd make this compile with DEBUG. 2005-02-05 16:19:35 +00:00
jdolecek c89f66dc2a security, security.conf(5) - note addition of check_passwd_permin_nonalpha
option, which makes it possible to disable the check for non-alphanumeric
login names
2005-02-05 15:53:53 +00:00
wiz f5e9b507dc Fix Dd argument, and a grammar fix. 2005-02-05 15:31:29 +00:00
wiz c81aaebd36 New sentence, new line. 2005-02-05 15:28:46 +00:00
wiz e6ef4830c4 Be consistent in -r argument naming. 2005-02-05 15:26:50 +00:00
jdolecek 8e401e6c31 add a check_passwd_permin_nonalpha option, which changes the passwd
test to permit non-alphanumeric characters in login names
2005-02-05 15:26:37 +00:00
xtraeme 60fef07963 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:55:44 +00:00
xtraeme 77bf707374 ll __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:54:35 +00:00
xtraeme 816b5578c8 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:47:18 +00:00
xtraeme 23bd8cd383 Kill __P(), use ANSI function declarations. 2005-02-05 14:44:46 +00:00
xtraeme 8a489f424f Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:35:25 +00:00
xtraeme b64027cd07 Kill __P(), use ANSI function declarations. 2005-02-05 14:33:50 +00:00
xtraeme e4e811215a Kill __P(); 2005-02-05 14:26:05 +00:00