Commit Graph

35 Commits

Author SHA1 Message Date
mycroft
61475326e0 Add delays for lame keyboard controllers, as in the keyboard driver. Do a
better job of flushing input in various cases.
1997-12-18 16:49:10 +00:00
carrel
2030b7b104 Turn off reseting and disabling the device by default.
Document the option to turn them back on.
1997-11-15 20:18:50 +00:00
jtk
bd611fe5b6 use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all *UNK uses in
isa code with the native names from locators.h
1997-07-17 01:06:27 +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
db7563a62d Fix gcc -Wall warnings 1996-05-05 19:46:15 +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
thorpej
0c71728320 Change the PS/2 mouse driver to be a child of the "pckbd" attribute,
which represents the "keyboard controller".  Give "pc" and "vt" drivers
the "pckbd" attribute.  In pcattach() (pccons and pcvt), attach children
of the keyboard controller.
1996-03-16 06:08:46 +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
mycroft
ec30c873ea Switch the AUX_ENABLE and AUX_DISABLE flags, per Mathias Engan. 1995-10-05 14:12:21 +00:00
mycroft
82120d943b Finish updating for new interrupt registration mechanism. 1995-04-18 02:25:18 +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
e06bc8c13e Don't issue a controller self-test... 1995-01-07 22:48:29 +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
mycroft
f2d6bac657 Fix various bugs, from Duncan McEwan and John Kohl. 1994-07-19 05:08:55 +00:00
mycroft
560cc3b8bb Invert the button logic. (Oops.) 1994-07-18 07:18:57 +00:00
mycroft
10e27106d0 Minor cleanup. 1994-07-17 19:35:32 +00:00
mycroft
ee120821cf Updated to match other drivers, and three bugs fixed. 1994-07-17 19:24:40 +00:00
mycroft
f2a0b4b335 Canonicalize all #includes, and add pio.h where appropriate. 1993-12-20 09:05:17 +00:00
mycroft
dd896d55b8 A theoretically working version. The probe routine needs work. 1993-11-02 23:59:34 +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
100f7b0bc5 Oops. Reversed order of args to outb(). Still haven't gotten my 486 booted
with a new kernel to actually test this, though.
1993-06-23 05:48:57 +00:00
mycroft
42fb89da69 Explicitly disable mouse during attach. 1993-06-14 17:33:18 +00:00
mycroft
60dfc2196f Fix egregious stupidity. 1993-06-14 15:35:14 +00:00
mycroft
87bcb8ca95 Yeah, I'm awake. 1993-06-14 15:13:14 +00:00
mycroft
06f36e1045 Add preliminary (read: untested) PS/2 mouse driver. 1993-06-14 15:05:50 +00:00