tsutsui
e8604b1e02
Umm, fix more split fallout.
...
While here use a common arg name (aux) as mentioned in autoconf(9).
2011-06-05 16:22:00 +00:00
christos
d545620cfc
fix split fallout.
2011-06-05 16:08:20 +00:00
uebayasi
8184d5dc03
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
...
some other constants. These are provided by sys/param.h now.
2010-11-13 13:51:57 +00:00
rmind
dbd9b86792
Remove some unecessary includes sys/user.h header.
2009-11-23 02:13:44 +00:00
cegger
7cf2991222
struct device * -> device_t, no functional changes intended.
2009-05-12 14:38:26 +00:00
cegger
d16a259fe3
struct cfdata * -> cfdata_t, no functional changes intended.
2009-05-12 13:15:24 +00:00
scw
ebf9670f10
Fix fallout from device_t changes - initialise sc->sc_osiop.sc_dev before
...
calling osiop_attach().
2009-03-23 18:59:57 +00:00
dsl
7cc9af7d64
ANSIfy functions with function-pointer arguments
2009-03-16 23:11:09 +00:00
dsl
82357f6d42
ANSIfy another 1261 function definitions.
...
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +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
he
dfe654dcfc
Follow up the removal of the MALLOC() macro, use malloc() instead.
2008-12-21 18:01:42 +00:00
cegger
3bde75a1bc
use device_lookup_private to get softc
2008-06-12 22:44:47 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
cegger
1ef783cb7b
use aprint_*_dev and device_xname
2008-04-08 20:40:42 +00:00
tsutsui
8d17a1295b
Split softc/device_t for oosiop(4) and osiop(4), with misc cosmetic changes.
2008-03-29 09:11:35 +00:00
cube
8ecf8999bf
Split the softc from the device_t for all lpt(4) variants and attachments
...
except the ppbus stuff (which doesn't compile) and ulpt(4) which is
unrelated and can be dealt with separately.
As usual, it comes with related cosmetic changes.
2008-03-07 17:15:51 +00:00
tsutsui
2b341ae01b
Add timecounter(9) support for mvme68k.
...
Based on a patch from Garrett D'Amore and several tweaks by me.
Compile tested only, but reviewed by joerg@ and
no objection from scw@ on port-mvme68k.
2008-01-07 14:39:28 +00:00
ad
0664a0459b
Start detangling lock.h from intr.h. This is likely to cause short term
...
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
2008-01-04 21:17:40 +00:00
ad
4b293a84e1
Interrupt handling changes, in discussion since February:
...
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
2007-12-03 15:33:00 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
ad
c97e9c4ea7
brelse() stragglers.
2007-10-08 20:12:05 +00:00
ad
88ab7da936
Merge some of the less invasive changes from the vmlocking branch:
...
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +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
mhitch
1d4e083680
gcc4 uninitialized variable. gcc3 apparently didn't catch this one.
2006-08-07 01:31:36 +00:00
thorpej
838ee1e0d9
Use device_private().
2006-03-29 06:51:47 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
scw
4a5c0908e5
Fix const fallout.
2005-06-03 08:49:03 +00:00
scw
d6d7806045
Placate -Wshadow
2005-06-03 08:42:54 +00:00
scw
87246b5338
s/struct device/struct clock_pcctwo_softc/ in CFATTACH_DECL().
2005-04-14 12:36:38 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
perry
18db93c7f6
de-__P
2005-02-04 02:10:35 +00:00
he
4d1d8d6c84
Remove spurious second argument to sizeof().
2004-06-06 13:34:36 +00:00
wiz
1249084227
"panicking" needs a k.
2004-05-16 15:44:10 +00:00
itojun
aca4c091d3
sprintf -> snprintf
2004-04-22 00:17:10 +00:00
scw
07d1f9c942
After re-checking the docs in response to a port-mvme68k question,
...
don't claim to support D8 local-bus->VMEbus transfers.
2004-04-02 14:14:18 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
he
22d88e6c63
Omit declaration of "device lpt" in files.mvme; this is now done by
...
the recently introduced files.ppbus.
Also, let the mvme68k port use it's own lpt implementation for now,
so define USE_ALT_LPT option in std.memv68k.
This makes the mvme68k kernels configure and build again.
2004-01-30 09:42:01 +00:00
scw
91c88f7f6b
In the match routine, check to see if we can access the SCSI controller's
...
registers without generating a bus error. This can happen on some board
variants which have no SCSI controller.
2003-11-26 14:29:37 +00:00
scw
e6085b4b12
A couple of fixes inspired by a recent port-mvme68k post:
...
- Fix the display of VME master ranges such that the address modifier
is shown correctly.
- Apply vr_mask to the start/end VME master addresses, and adjust
the local start address to compensate.
2003-11-26 14:27:15 +00:00
he
b158245614
Fix another instance where `offset' might have been used uninitialized,
...
by adding a non-DEBUG default: and a panic().
2003-11-09 14:26:15 +00:00
dsl
f4d417c4a9
Add default: and panic() when DEBUG undefined so that 'offset' is
...
not used uninitialised.
2003-11-07 19:16:01 +00:00
tsutsui
6fa76b3b92
No need to include <dev/ic/mk48txxreg.h> here.
2003-11-01 22:42:23 +00:00
matt
e633976ebd
Elminate GCC uninitialized variable warning.
2003-10-28 18:21:49 +00:00
wiz
db579612f4
Definition, not defintion. From miod@openbsd.
2003-09-26 22:25:21 +00:00
thorpej
91b8f572a8
Move the prototype of clock_rtc_config() into <dev/clock_subr.h>.
2003-07-18 19:20:55 +00:00
lukem
365cbd9428
add missing __KERNEL_RCSID()
2003-07-14 15:47:00 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
thorpej
52d8769e0b
Use PAGE_SIZE rather than NBPG.
2003-04-01 02:01:43 +00:00
he
0a235da1cd
Add inclusion of <sys/lock.h> to allow compilation of usage of
...
MALLOC() to succeed.
2003-03-07 12:40:12 +00:00
thorpej
72a7af27b0
Use aprint_normal() in cfprint routines.
2003-01-01 00:10:15 +00:00