Commit Graph

24 Commits

Author SHA1 Message Date
uch b095a0d0c5 ANSIfy, KNF 2002-03-25 18:59:39 +00:00
uch e8300f3659 adapted to new interrupt code and shb changes. 2002-03-24 18:21:08 +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
atatat 239aeafb2e Fixes to eliminate some compiler complaints, such as:
suggest explicit braces to avoid ambiguous `else'
suggest parentheses around assignment used as truth value
2001-12-04 15:27:35 +00:00
thorpej b42556773f Driver for the Dreamcast mouse, based on the programming info
on Marcus's web site.

Not yet thoroughly tested, but does appear to generate events
that look okay.
2001-09-06 22:07:39 +00:00
thorpej 2d2a66209d Indent. 2001-09-06 20:04:49 +00:00
wiz 8eaf0a103e bcopy -> memcpy, bzero -> memset 2001-07-22 15:46:41 +00:00
chs e44e9dec8a replace vm_page_t with struct vm_page *. 2001-05-26 21:27:02 +00:00
marcus e90e316b11 Changed maple device to attach per function instead of per unit.
Raw maple unit access is now possible through /dev/maple*.
2001-05-26 19:04:39 +00:00
marcus fab9e9b3bb sc_port_units was set incorrectly at probe time. 2001-03-16 19:57:49 +00:00
marcus 33090db137 Harmonized keycodes with USB. 2001-03-02 00:25:06 +00:00
msaitoh f4b23a11a4 fix a check code whether mkbs is console or not 2001-02-22 15:34:28 +00:00
marcus 0d6830073e Added subunit scan. 2001-02-03 23:25:51 +00:00
thorpej 4fab177f7e Don't make the reporting of the keyboard type a parenthetical. 2001-02-02 03:09:16 +00:00
thorpej c625c7ee25 Set the keyboard layout based on what type of keyboard
we probe, defaulting to Japanese if we don't know what
kind of keyboard we have.

XXX This should be done differently, if we ever want to
support multiple keyboards.
2001-01-31 03:21:03 +00:00
thorpej 37aca7f3f0 Add a US keyboard map. This may need to be reworked, as this
uses the Japanese keyboard map as the base.
2001-01-31 03:19:50 +00:00
thorpej b81a17e100 Make the "maple" bus a direct config bus. Now, when a device is
not configured into the kernel, you know about it, e.g.:

Dreamcast Controller         at maple0 port 0 not configured
2001-01-31 00:14:29 +00:00
thorpej 5c8624a602 Recognize the US keyboard. 2001-01-31 00:08:35 +00:00
marcus 28f7e6dde5 Corrected license text. 2001-01-21 22:45:57 +00:00
marcus ec45004dfc Fixed double-stroke bug. 2001-01-21 22:44:40 +00:00
marcus 8cd0ae534a Better DMA allocator (thanks to Jason R. Thorpe). 2001-01-19 20:27:31 +00:00
marcus 2e39f7eacf Added keymap for European keyboards. 2001-01-16 00:56:29 +00:00
marcus ecb24087d2 Maple bus keyboard driver. 2001-01-16 00:33:01 +00:00
marcus ee6259c508 Maple bus driver. 2001-01-16 00:32:42 +00:00