Commit Graph

161493 Commits

Author SHA1 Message Date
matt 89310978dc Add matt-armv6 branch. 2007-08-27 15:57:00 +00:00
xtraeme 3ed930f279 Valid arguments for rw_enter() and rw_tryenter() are RW_READER/RW_WRITER
not RW_READ/RW_WRITE.

Bump date.
2007-08-27 15:43:13 +00:00
dyoung b4ed197c2d LLADDR -> CLLADDR. 2007-08-27 14:59:11 +00:00
dyoung d93512cce5 Remove dead code. 2007-08-27 14:57:47 +00:00
dyoung c3db559a5f Constify: use CLLADDR() instead of LLADDR() wherever possible. 2007-08-27 14:48:54 +00:00
xtraeme 8f56f00890 Fix typo in rev 1.26: alldev -> alldevs. 2007-08-27 14:41:03 +00:00
xtraeme c463a1309e Fix the $NetBSD$ tag in __KERNEL_RCSID(). 2007-08-27 14:39:19 +00:00
dyoung c778648a34 Use TAILQ_FOREACH(). 2007-08-27 14:35:09 +00:00
reed d256941473 Add author's names for two books. 2007-08-27 14:34:17 +00:00
dsl 31c3c56394 Fix inverted test in ktrpoint(), NAMI traces weren't being generated.
Also inline the 'ktrace_on' part of the test.
2007-08-27 13:33:45 +00:00
xtraeme 862b664446 Apply some KNF. 2007-08-27 12:07:39 +00:00
pavel d4b5db05c7 Add some magic (similar to the one in rc.d/sendmail introduced with 2.0
release) to not start postfix if $postfix is not explicitely set and
another mailer is selected in /etc/mailer.conf. Also print a warning if it
happens because the mailer in rc.conf is the removed sendmail.

This prevents starting two MTAs at once if one uses a custom MTA.

As proposed on tech-userlevel, approved by martin.
2007-08-27 10:59:05 +00:00
xtraeme 5d1b643f3f Attach to the ICH9 SMBus device too. 2007-08-27 09:09:22 +00:00
dyoung b4124ae5bd Constify. 2007-08-27 07:33:17 +00:00
xtraeme 079789d3c9 Add missing __KERNEL_RCSID(). 2007-08-27 06:18:55 +00:00
xtraeme 70c59631a7 Cosmetic: "device %d-bit timer" -> "device: %d-bit timer". 2007-08-27 06:17:28 +00:00
xtraeme 31ee4220f6 Add missing __KERNEL_RCSID(). 2007-08-27 06:01:10 +00:00
dyoung 64bfe92e2b Cosmetic: 0 -> NULL. Remove unnecessary cast. 2007-08-27 05:39:44 +00:00
macallan 639b5a68a6 let userland mmap() the GLint framebuffer and make it visible when switching
to WSDISPLAYIO_MODE_MAPPED - so X with wsfb can run in 24bit colour
2007-08-27 02:03:15 +00:00
macallan 6a9b8ff83c add type for Fujitsu AG-10e 2007-08-27 02:01:23 +00:00
dyoung 7caec74f02 Reorganize and extract arplookup1() for code-sharing. Share
null_sdl.  Introduce arp_setgate() for initializing a link-layer
nexthop, and use it to fulfill RTM_SETGATE requests.
2007-08-27 01:13:09 +00:00
dyoung ae7a571b06 Add a new routing message type, RTM_SETGATE. We can use an
RTM_SETGATE message to ask the link layer to fill in the link-layer
nexthop before we try to detect a duplicate route in a multipath-capable
kernel.
2007-08-27 00:34:01 +00:00
uwe 77cf5cb29c Move child_return() and startlwp() to be in the same file with
cpu_lwp_fork() that is used to call them.
2007-08-27 00:22:20 +00:00
dyoung ea3cf9a639 Let an rc variable, sysdb=YES|NO, control the building of the system
databases.  Defaults to YES.
2007-08-26 23:55:50 +00:00
pooka 59a7b3704a define FFS 2007-08-26 23:53:24 +00:00
pooka dbce9b9f2c few panicky functions 2007-08-26 23:51:08 +00:00
pooka 9157302845 split implemented lock stuff out of lock_stub.c into lock.c 2007-08-26 23:49:42 +00:00
pooka c869e534dd very rudimentary recursive lock support 2007-08-26 23:46:47 +00:00
dyoung 5204966a96 Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).

Use sockaddr_dl_setaddr() in a few places.
2007-08-26 22:59:08 +00:00
pooka 8ffb2866a1 * clarify error behaviour for getmntopts()
* invert getmnt_silent description (a.k.a. "fix it")
2007-08-26 22:53:01 +00:00
pooka 5cf35d2a60 Emulate behaviour described in man page and return NULL if an error occurs. 2007-08-26 22:46:15 +00:00
dyoung 71e77a61b4 Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).
2007-08-26 22:45:55 +00:00
dyoung f004b71d98 Constify. 2007-08-26 22:36:35 +00:00
dyoung e6fc91327f Use satosdl(). 2007-08-26 22:33:25 +00:00
dyoung 6f7649313f Constify. 2007-08-26 22:28:52 +00:00
jmmv f871acd484 Enable tmpfs. 2007-08-26 21:19:01 +00:00
xtraeme 9d55226ba9 Set ENVSYS_FMONNOTSUPP in the last two missing sensors, forgot in previous. 2007-08-26 20:52:15 +00:00
xtraeme a8995b3790 Only assing the monitoring flags once in acpibat_init_envsys() before
registering the driver.
2007-08-26 20:47:42 +00:00
martin 24201ba62f Allow 64bit memory BARs if we are compiling on 64bit archs. 2007-08-26 19:52:06 +00:00
macallan 5663692e8e mention agten driver 2007-08-26 19:41:17 +00:00
xtraeme 268e268682 Move the ICH SMB defs to dev/ic/i82801lpcreg.h, it's where it belongs.
This is to avoid code duplication.
2007-08-26 18:39:43 +00:00
xtraeme b78e454756 tyop 2007-08-26 18:26:22 +00:00
matt 8bddec6f98 Change CFATTACH_DECL, CFATTACH_DECL2, and CFDRIVER_DECL to use C99 structure
initializers.
2007-08-26 18:20:57 +00:00
matt b5995b2a75 Change EVCNT_INITIALIZER to use C99 structure initializers. 2007-08-26 18:15:14 +00:00
xtraeme afe6ede6ba Change reference of last item to ichlpcib(4), there's a manpage now
(three years after the code was committed).
2007-08-26 18:06:51 +00:00
xtraeme c52324299f Add a manpage for the ichlpcib(4) driver. This needs some wizd-ification. 2007-08-26 18:05:43 +00:00
xtraeme 434a9a86ff There's no need to add timecounter code inside of __HAVE_TIMECOUNTER
ifdefs.
2007-08-26 17:15:42 +00:00
xtraeme 8a8a9250de Modify ichlpcib description, it has timecounter support too. 2007-08-26 17:05:23 +00:00
xtraeme 27b6c30cfb Add ichlpcib commented out. 2007-08-26 17:03:13 +00:00
xtraeme 851a382c12 Mention recent changes to the ichlpcib driver. 2007-08-26 16:55:48 +00:00