summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/i8042reg.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Less magic numbershadchin2015-05-051-2/+2
| | | | | | | | | | For PS/2 - status byte - bit 5: The bit is '1' if the data on input port 60h came from the AUX port, or '0' if the data came from the keyboard or from the keyboard controller itself. KBS_TERR (kbd transmission error) was valid for AT-mode, but not for PS/2-mode. ok ratchov@, miod@
* Instead of deciding which iockbc port is the keyboard port, and which one is themiod2013-12-251-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | mouse port, depending upon the system time, match what the prom is doing and actually probe for a keyboard on both ports, and decide the first port with a keyboard is the keyboard port. If no keyboard is found, but a mouse is found, decide the keyboard port is the empty one. If no device is found, then we can try and pick the defaults, depending upon the system we are running on, as this used to be the case (i.e. coping with Fuel having keyboard on port 1 and mouse on port 0 when connecting devices according to the chassis' markings). This is necessary because different IO9 board revisions on Tezro come with different wirings, and we can not tell these boards apart. Discussed with "nullnilaki" (nullnilaki on gmail) who is the lucky owner of an Onyx 350 with correct wiring and a Tezro with inverted wiring. Tested on Octane and Fuel with all combinations of devices connected (mouse only, keyboard only, keyboard and mouse) in both ports, glass and serial console. XXX We probably want to allow for more pckbd attachment flexibility on non-x86 XXX platforms eventually (at least where the PS/2 slots are really independent, XXX so that we can attach pckbd to any port and better cope with human error XXX when connecting devices.
* Revert Active PS/2 support for now, until we find a solution suitabletobias2013-05-231-15/+1
| | | | | | for chipsets which stopped working. ok mpi
* Enable active PS/2 multiplexing if available.tobias2013-04-201-1/+15
| | | | | | | | Supported for i386 and amd64 except SMALL_KERNEL. Based on Miod's former work on this subject. ok mpi
* write output portmickey2001-08-181-1/+2
|
* $OpenBSD$niklas2001-07-041-0/+1
|
* Address the i8042 keyboard controller registers as offsets from IO_KBD; fromaaron2000-11-131-6/+5
| | | | | NetBSD. This will ease the pain when we bring in the pckbc MI keyboard driver to be used for wscons/i386 and wscons/alpha.
* $OpenBSD RCSIDsniklas1996-10-311-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+44