Commit Graph

157385 Commits

Author SHA1 Message Date
mjf ac72285ff1 lfs filesystems work with fstab(5), sync man page. 2007-03-09 14:24:05 +00:00
ad cf3f1d0fdb Make cpu_vendor a global. 2007-03-09 14:15:34 +00:00
ad c147748d84 - Make the proclist_lock a mutex. The write:read ratio is unfavourable,
and mutexes are cheaper use than RW locks.
- LOCK_ASSERT -> KASSERT in some places.
- Hold proclist_lock/kernel_lock longer in a couple of places.
2007-03-09 14:11:22 +00:00
ad 50a8df5d23 mutex_onproc: remove unnecessary memory barriers. 2007-03-09 14:08:26 +00:00
dsl 5c2f2286e3 Add a globally applied substitution pattern for the console major number.
Use it when creating a temporary node for the console.
MAKEDEV -M should now output what it is doing.
2007-03-09 13:57:54 +00:00
kent e893f67fa1 return information about playing buffer, not recording bufer,
for AUDIO_WSEEK.

PR#35171
2007-03-09 13:20:12 +00:00
he 4012c93047 Use char* with mtod() when doing pointer arithmetic on the result. 2007-03-09 12:03:25 +00:00
skrll 9bd69a33e6 Typo in comment. 2007-03-09 11:30:28 +00:00
njoly 97eabb6b0d Add hpet device. 2007-03-09 11:00:05 +00:00
he 60b37b9c1c Cast to char* before doing pointer arithmetic. 2007-03-09 08:59:00 +00:00
thorpej 0eddebcf62 Elaborate a bit more in the first paragraph. 2007-03-09 07:13:06 +00:00
thorpej 7a35085f7e Update the theory statement for the ARM mutex implementation.
There is still work to be done here.
2007-03-09 07:11:10 +00:00
thorpej d1d10b58ab Make ipl_t and ipl_cookie_t 8-bit values. kmutex is now down to 12 bytes
(from 20) on ARM.

Approved by Matt Thomas.
2007-03-09 06:45:19 +00:00
yamt 02530653ff nfs_check_wccdata: print timestamps. 2007-03-09 05:55:33 +00:00
yamt fd1a6294d1 fileassoc_table_lookup: call fileassoc_init if it has not been done yet.
fixes crashes sys_unlink when there are no users of fileassoc.
2007-03-09 05:51:50 +00:00
thorpej d995c0d9c9 Make __cpu_simple_lock_t an unsigned char if _KERNEL, and operate on it
using SWPB.

Approved by Matt Thomas.
2007-03-09 05:40:08 +00:00
yamt 073d78105b use b_bcount where appropriate rather than keeping b_resid sync with it.
no functional changes.
2007-03-09 05:28:37 +00:00
yamt 27515959ec fix typos in comments. 2007-03-09 05:00:26 +00:00
thorpej b0c035f9e5 Correct a comment. 2007-03-09 04:50:36 +00:00
matt 2018fad37d Honour ${CPUFLAGS} 2007-03-09 04:40:38 +00:00
liamjfoy 142de6f17b Allow to build without INET6
Submitted by: Jukka Salmi
2007-03-09 00:40:39 +00:00
he bf9a718b25 Cast to char* before doing pointer arithmetic. 2007-03-08 23:56:45 +00:00
he 856d1c9da0 Cast to char* before doing pointer arithmetic. 2007-03-08 23:25:44 +00:00
jnemeth f587e8e88c add support for devctl properties 2007-03-08 23:23:45 +00:00
riz 35b9fbfb52 Match the FTDI "Serial 2232C" chip; this allows a 16-port usb->serial
device from SerialGear I have to work.
2007-03-08 23:21:08 +00:00
he 89de8e1eca Cast to char* before doing pointer arithmetic. 2007-03-08 23:17:56 +00:00
riz 9fc61b3d2a Regen for addition of FTDI "Serial 2232C". 2007-03-08 23:14:43 +00:00
riz 42104c1e3d Add FTDI "Serial 2232C" product ID 2007-03-08 23:14:05 +00:00
jmmv fd8bc089d9 Add Multiboot support. Doesn't hurt regular boots and is enabled in the
GENERIC kernels already.
2007-03-08 22:38:02 +00:00
he 5f0dedf664 Cast to char* and not void* when doing pointer arithmetic. 2007-03-08 22:35:53 +00:00
he 3dc744a85f Cast to char* before doing pointer arithmetic. 2007-03-08 22:28:41 +00:00
he 993fa67c04 Change local variables kernend and v to char*, since they are used
for pointer arithmetic.
2007-03-08 22:17:47 +00:00
he 7dfe4022f7 Cast to char* before doing pointer arithmetic.
Also put * close to variable name.
2007-03-08 22:08:50 +00:00
he 9ebf1fa4d2 Cast to char* to be able to do pointer arithmetic. 2007-03-08 21:50:25 +00:00
he 1aecca529f Cast to char*, not void* before doing pointer arithmetic. 2007-03-08 21:49:15 +00:00
ad 7caf5b2025 trace_enter, trace_exit: acquire kernel_lock for systrace. 2007-03-08 21:25:27 +00:00
wiz 08287ce407 Remove macrobreaking whitespace. 2007-03-08 21:23:00 +00:00
macallan 749b17a7c8 make the dbri driver work again
while there enforce some alignment rules, adjust some timeouts, retry when
probing the codec fails
2007-03-08 21:15:20 +00:00
matt 2a18c897d3 Fix more caddr_t -> void * lossage 2007-03-08 20:52:21 +00:00
matt d471ccf3aa Clean the bitrotting ofw code. Don't export export the underlying irq
dispatch mechanism to the rest of the kernel; they don't need to know.
Nuke IRQSTATS entirely.

XXX ofwgencfg_clock needs to taught about timecounters
2007-03-08 20:48:39 +00:00
matt 4dd05a4c0a Fix inverted test (cputype != 0) and now my shark boots again! 2007-03-08 20:42:48 +00:00
drochner 5a8030ba23 modify the previous fix so that no pointless realloc()s are done in
the case of multiple empty continuation lines, and comment the code
to make the logics obvious
fix an unrelated comment
2007-03-08 19:57:53 +00:00
drochner af336998bf In the pseudo-dev attach function, also try to register the struct cfdriver
of the backend irframe device with autoconf. This might fail or not,
depending on whether another frontend was configured. It helps if
irframetty is the only frontend.
This is a workaround for some inconsistencies in the interaction of
pseudo-devices with the autoconf framework. A fix will require changes
to config(8) which needs more consideration and testing.
Should fix a crash reported by Dieter Baron per PM.
2007-03-08 19:35:44 +00:00
plunky ca0b33b2ff cut and paste error meant you could only use "-s <num>" as the last
option on the commandline..
2007-03-08 19:13:14 +00:00
plunky e55e3c248c only turn off input processing if it is on 2007-03-08 19:10:49 +00:00
joerg 2fcc3fcbe6 Add a new option to pkg_create to allow easy registration of all
dependencies. Just like -P is used for the full dependencies to create
@blddep entries in the PLIST, -T does that as well. To reduce the chance
of confusing older tools, they are sorted after the full dependencies.
Bump pkg_install version to 20070308.
2007-03-08 18:20:20 +00:00
he 3aeb570fd3 Make the loadboot() declaration consistent, use char* because it
does pointer arithmetic on the argument.
2007-03-08 17:14:16 +00:00
liamjfoy d0d904ff73 Use ip6flowtable when looking up 2007-03-08 17:09:15 +00:00
rillig bbe065310a EROFS is not a critical error in a "mkdir -p". 2007-03-08 17:01:30 +00:00
tsutsui 0d7a1d1146 MI softintr(9)'fy. Tested by bouyer@.
See also:
http://mail-index.netbsd.org/port-next68k/2007/03/06/0000.html
2007-03-08 16:37:43 +00:00