Commit Graph

153123 Commits

Author SHA1 Message Date
christos 896545c86a shave 32 bytes. 2006-10-22 21:57:55 +00:00
christos f9c9a8e383 it is not called kcore anymore. 2006-10-22 21:34:42 +00:00
tls 9e6fbdecd0 For GDB, note the necessity of testing target kcore and options KGDB. 2006-10-22 21:26:54 +00:00
christos 9881dfaad3 c99 initializer 2006-10-22 21:24:44 +00:00
christos f6a7372b60 use c99 initializers 2006-10-22 21:09:47 +00:00
jmmv f584c9cef6 Forgot to remove non-applicable *VERBOSE options. 2006-10-22 21:08:48 +00:00
hauke 09aee34e95 Add Hauke Fath 2006-10-22 21:08:27 +00:00
christos f80d108fb1 fix initializers 2006-10-22 21:06:19 +00:00
christos 6846f1da94 remove dead code. 2006-10-22 21:05:28 +00:00
christos dae6a9eb32 sprinkle volatile. 2006-10-22 21:00:21 +00:00
christos a4b205c85a don't leak kernel variable declarations to userland. 2006-10-22 20:55:09 +00:00
christos 6fef5d355e WARNS=4.
- pass lint
- don't use sscanf fgets and fixed length buffers
- always use warnx to report errors.
2006-10-22 20:54:38 +00:00
he 2c2b5873de If we're not using pthreads, claim also that we don't have sigwait.
This works around the problems observed on sparc and sparc64 (where
we've disabled use of pthreads) where the BIND applications end up
being killed with SIGTERM instead of exiting gracefully.
2006-10-22 20:53:51 +00:00
mrg a37172bb09 avoid a problem in kpsignal2() holding sched_lock while wanting to call
pool_get().  pre-allocate the ksiginfo_t before taking sched_lock and
use it if necessary, or freeing it if it is unused.

rename ksiginfo_{get,put}() to ksiginfo_{dequeue,queue}() (idea from chuq.)


this fixes PR#32962.  thanks to christos, chuq and go for help/ideas.
2006-10-22 20:48:45 +00:00
mrg d7bc6234aa regenerate powerpc and sparc64 mknative files for GCC 4.1-20061021. 2006-10-22 20:01:41 +00:00
christos 27ae1373d5 Mention include proper file for keyboard defines; from Zafer. 2006-10-22 19:39:32 +00:00
christos 1536848b53 fix typo. 2006-10-22 19:21:26 +00:00
jmmv 2bce77b498 Kernel configuration file for the QEMU virtual machine. This is based on
GENERIC and keeps all MI stuff untouched but removes all MD devices that
are not supported by QEMU.  Inspired by the recently added PARALLELS file.
2006-10-22 18:49:24 +00:00
christos f6c67772ca use strlcpy instead of strncpy or bcopy to copy the interface name. 2006-10-22 18:24:02 +00:00
christos 8c71201d08 make ktruser enforce the maximum buffer length, and return an error. 2006-10-22 18:19:49 +00:00
christos 9e34b4bbee ktruser checks for length now. 2006-10-22 18:18:49 +00:00
christos 0838967c65 ktruser now returns an error if the buffer length is too big. 2006-10-22 18:18:08 +00:00
christos 97e81e479c sprinkle volatile. 2006-10-22 16:48:34 +00:00
christos c3c65c3c0c use c99 initializer. 2006-10-22 16:47:50 +00:00
christos 528614c11b sprinkle volatile. 2006-10-22 16:45:35 +00:00
christos 88bb03c92e use c99 initializer. 2006-10-22 16:44:46 +00:00
christos 8a3920f2c8 use c99 initializers
consistently terminate nlist arrays with NULL not ""
2006-10-22 16:43:24 +00:00
christos 7284ae463f use c99 initializers. 2006-10-22 16:36:44 +00:00
bouyer 146b18fc4b Don't add ikphy twice; pointed out by Patrick Welche 2006-10-22 16:26:27 +00:00
christos b9cc3c0e19 - add volatile
- fix an missing initializer.
2006-10-22 16:25:19 +00:00
christos 088aec4701 sprinkle volatile. 2006-10-22 16:23:20 +00:00
christos e71453a117 don't check the wrong variable for being negative! 2006-10-22 16:20:39 +00:00
christos 92706ef61d make nlist struct static and use c99 initializers 2006-10-22 16:17:44 +00:00
christos 2541a5f2fe use c99 initializer. 2006-10-22 16:14:07 +00:00
christos ccf5505f5c remove bogus assertion. 2006-10-22 16:13:23 +00:00
christos afb23e8f50 use c99 initializer. 2006-10-22 16:12:20 +00:00
christos f3d3c4b618 missing initializers. 2006-10-22 16:11:34 +00:00
xtraeme 0262460f38 Xr ikphy 2006-10-22 16:08:43 +00:00
bouyer e960fdb58f Add support for the Intel 80003 Gigabit Ethernet controller (found e.g.
in newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work
as is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000
Ethernet PHYs
(forgot to cvs add this file in previous commit; pointed out by Juan RP)
2006-10-22 16:00:53 +00:00
peter 8f247a77de add const 2006-10-22 15:31:26 +00:00
vanhu b0d7d1da89 From Michal Ruzicka: fix typos 2006-10-22 15:10:31 +00:00
vanhu df130f3c13 fixed typos 2006-10-22 15:10:30 +00:00
bjh21 8b935e60cf Move ei(4) out of the acorn26 subdirectory. 2006-10-22 14:33:57 +00:00
bjh21 fc5237c2e4 ei(4) is MI, shared by acorn26 and acorn32. Pull its man page up out of the
acorn26 directory.
2006-10-22 14:29:24 +00:00
bjh21 96e4648091 Mention use of sec(4) and ei(4) on acorn32. 2006-10-22 14:23:02 +00:00
bjh21 139ac00676 The sec(4) and ei(4) drivers appear to work on acorn32. Use them in preference
to the MD asc(4) and ie(4) drivers.
2006-10-22 14:15:51 +00:00
elad 6b1bc77758 Use consistent wording.
While here, undocument converstion routines for pcred/ucred, as these are
going to be deprecated. They already are, actually, but because we exposed
them to userland so cleverly with sysctl, it may require more thinking
before actually removing them. For now, just make sure nobody relies on
these types. Or at least try...
2006-10-22 14:00:00 +00:00
pooka 362b187ff0 constify in cpu_setmcontext() 2006-10-22 13:59:14 +00:00
pooka 418e5b1cea reflect kauth uucred routine changes
thanks to Elad for reminding
2006-10-22 13:42:17 +00:00
pooka c0402602d9 constipate 2006-10-22 13:29:13 +00:00