cvs commit: src/sys/dev/uart uart_kbd_sun.c

Marius Strobl marius at FreeBSD.org
Sat May 21 20:26:31 GMT 2005


marius      2005-05-21 20:26:30 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/uart         uart_kbd_sun.c 
  Log:
  - 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.
  
  Revision  Changes    Path
  1.4       +21 -11    src/sys/dev/uart/uart_kbd_sun.c


More information about the cvs-src mailing list