Date: Sat, 21 May 2005 20:26:30 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/uart uart_kbd_sun.c Message-ID: <200505212026.j4LKQU7R076114@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505212026.j4LKQU7R076114>