cegger
320e553f24
use aprint_*_dev and device_xname
...
OK joerg
2008-04-04 22:05:39 +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
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
plunky
57c0199dcf
Tidy away wsmouse_input() abstractions and update
...
documentation to include the W direction.
2006-11-12 19:00:42 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
thorpej
a9beff9534
Use aprint_*().
2006-02-19 14:59:22 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
perry
32a519cece
de-__P, partially ANSIfy
2005-02-03 21:08:57 +00:00
drochner
1134c44162
adapt to ISA "unknown address" namespace separation
2004-09-14 20:25:05 +00:00
thorpej
1ad8e0ff42
Tidy up CFATTACH_DECL() formatting.
2002-10-02 05:47:08 +00:00
fvdl
26ab868e68
Merge Bill Sommerfeld's i386 MP branch. This code has some known
...
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
2002-10-01 12:56:36 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
thorpej
3835413bc1
Overhaul of the ISA autoconfiguration code to support direct
...
configuration of devices logically attached to the ISA bus:
* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
2002-01-07 21:46:56 +00:00
lukem
95c969f245
add RCSID
2001-11-15 07:03:28 +00:00
takemura
ba04c55ed3
Absolute pointing device support.
...
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
relative or absolute.
- Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
drochner
45ecb32709
make the busmice work with wscons
1999-01-23 15:03:50 +00:00
thorpej
daa8ad1747
Add some braces to make egcs happy.
1998-08-25 04:56:01 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
drochner
06471a2eed
switch to non-BROKEN_INDIRECT_CONFIG
1998-03-22 12:52:03 +00:00
thorpej
36760d9d94
Update for changes to config.
1998-01-12 18:59:04 +00:00
mycroft
87b7a8ba91
Minor changes to make these more similar again.
1997-10-19 20:31:29 +00:00
thorpej
3135cf9ecc
Use bus.h
1997-10-19 19:17:07 +00:00
christos
bd73314ed9
backout previous kprintf changes
1996-10-13 03:19:38 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
eda98d375d
Use intr.h.
1996-05-12 23:11:54 +00:00
christos
3464a4032b
Prototype fixes.
1996-05-03 20:11:57 +00:00
cgd
79e0a8a2b9
update for addition of a machine-dependent cookie as the first argument
...
to isa_intr_{,dis}establish().
1996-04-11 22:15:08 +00:00
thorpej
82d914d090
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:26:49 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft
45dc3570ec
Use ISA_IPL_TTY, to fix race conditions.
1995-10-05 22:06:47 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
mycroft
b5cf1b5ddd
Add interrupt sharing types.
1995-01-03 01:30:14 +00:00
mycroft
35cdd801e6
Convert port, IRQ, and DRQ numbers to ints.
1994-11-18 21:57:40 +00:00
mycroft
54cc63645d
Update to match autoconfig code.
1994-11-03 23:08:27 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
022ee8f7fe
new RCS ID format.
1994-10-27 04:14:23 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
mycroft
3f5e4f423f
Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
...
Reorganize and clean up the relevant code.
1994-04-07 06:48:19 +00:00
mycroft
6ec90fd0d5
Minor fix to attach messages.
1994-03-30 00:54:43 +00:00
mycroft
592ec61b17
Updates for new autoconfig.
1994-03-29 04:35:37 +00:00
mycroft
48747d1da5
New versions from magnum branch.
1994-02-17 03:39:52 +00:00
mycroft
f2a0b4b335
Canonicalize all #includes, and add pio.h where appropriate.
1993-12-20 09:05:17 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
andrew
0bffd21fdb
Replaced 386BSD conditionals with a NetBSD ones. Fixed a bug in 386BSD
...
support. Cast arguments to tsleep() and wakeup() to avoid compiler
warnings.
1993-06-27 05:39:44 +00:00
mycroft
6bca967a4e
These mice use 4 ports.
1993-06-14 17:04:22 +00:00
mycroft
ba09c15c63
Return EBUSY if device already open.
1993-06-14 12:46:56 +00:00
andrew
f9ce81fc82
Name change from bms -> mms.
1993-06-14 02:26:17 +00:00
andrew
160d6e8b5c
Microsoft & Logitech busmouse drivers.
1993-06-13 13:55:03 +00:00