cegger
99747a8099
struct device * -> device_t, no functional changes intended.
2009-05-12 14:28:22 +00:00
tsutsui
d779b85d3e
Remove extra whitespace added by a stupid tool.
...
XXX: more in src/sys/arch
2009-04-18 14:58:02 +00:00
cegger
e2cb85904d
bcopy -> memcpy
2009-03-18 17:06:41 +00:00
dsl
454af1c0e8
Change about 4500 of the K&R function definitions to ANSI ones.
...
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
mjf
a3ff3b0296
mscp(4) was being a bad monkey! It's not OK to call config_found() from
...
interrupt context, as my vax kernel with DIAGNOSTIC told me. Instead, we
defer the work and get it to run in thread context via a workqueue(9).
Thanks to matt@ for the review.
2009-01-19 19:15:07 +00:00
cegger
cf417aad7e
use aprint_*_dev and device_xname
2008-04-08 20:08:49 +00:00
ad
f142225fa0
B_BAD has done nothing for a long time.
2008-01-04 21:48:05 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
ad
66fefd117b
It's not a good idea for device drivers to modify b_flags, as they don't
...
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
2007-07-29 12:15:35 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
thorpej
6e53f1366a
Use device_parent().
2006-03-25 23:14:58 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
he
6ef865c900
Include the <sys/bufq.h> header to allow these to compile again.
2004-10-31 12:52:55 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
matt
7c49a58fcd
Fix wrong argument to free due to malloc_type changes. While there,
...
spot blatant bug by inspection and fix that as well. (do not compare
scaled value against unscaled value).
2003-02-04 13:20:45 +00:00
simonb
64c7743a05
Don't "extern int cold;" - this is in <sys/kernel.h>.
2002-03-04 02:19:07 +00:00
tsutsui
bcba62925f
Call malloc(9) with M_ZERO flag instead of bzero() after malloc().
2002-01-14 13:32:44 +00:00
lukem
8b7bb91219
add RCSID
2001-11-13 07:38:28 +00:00
thorpej
5da5b5ae5b
Upon inspection of a 4000/600 dmesg, change the splbios to splubas.
...
XXX THIS CODE IS SERIOUSLY BROKEN! MSCP DEVICES ARE BLOCK I/O DEVICES,
AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS. The VAX port really
needs to get virtualized spl*() levels.
2001-04-12 20:13:26 +00:00
thorpej
06b19d90b8
splimp -> splbio
2001-04-12 20:03:35 +00:00
thorpej
21fc65e1a8
sleep() -> tsleep()
2000-05-27 04:52:27 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
ragge
508b5c5cee
Bus'ify the mscp code also.
1999-06-06 19:16:18 +00:00
ragge
bf16b9271a
Copied from ../../arch/vax/mscp/mscp.c,v
1999-05-29 19:11:02 +00:00