]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Sprinkle some KBD_IS_* and KBD_*_DONE macros in sunkbd_configure() as
authorMarius Strobl <marius@FreeBSD.org>
Sat, 21 May 2005 20:26:30 +0000 (20:26 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Sat, 21 May 2005 20:26:30 +0000 (20:26 +0000)
commit3b8c3ece320af51df07b7d438ee281b5b9f050d0
tree0293b328f2482b76ac2a47dcd50652ed062b68d6
parenta831ab381070c618899ea30bfc2af6b044dbc198
- Sprinkle some KBD_IS_* and KBD_*_DONE macros in sunkbd_configure() as
  a band-aid allowing to call this function savely multiple times, e.g.
  during sckbdprobe() and sc_probe_unit(). Otherwise calling it a second
  time results in a non-working keyboard. This needs a lot of more work
  to actually do the right thing and work like expected.
- Let sunkbd_configure() return the number of the found keyboards, i.e.
  1 in case probing succeeds, as it's expected. The return values of the
  keyboard configure functions however currently aren't checked so this
  doesn't make a difference at the moment.
- Use FBSDID.
sys/dev/uart/uart_kbd_sun.c