Marius Strobl 97202af2dc - Add a uart_rxready() and corresponding device-specific implementations
that can be used to check whether receive data is ready, i.e. whether
  the subsequent call of uart_poll() should return a char, and unlike
  uart_poll() doesn't actually receive data.
- Remove the device-specific implementations of uart_poll() and implement
  uart_poll() in terms of uart_getc() and the newly added uart_rxready()
  in order to minimize code duplication.
- In sunkbd(4) take advantage of uart_rxready() and use it to implement
  the polled mode part of sunkbd_check() so we don't need to buffer a
  potentially read char in the softc.
- Fix some mis-indentation in sunkbd_read_char().

Discussed with:	marcel
2007-01-18 22:01:19 +00:00
..
2006-05-11 14:30:28 +00:00
2006-11-29 08:17:40 +00:00
2006-07-14 22:22:57 +00:00
2006-07-14 22:06:01 +00:00
2006-11-29 07:57:02 +00:00
2006-10-25 07:58:18 +00:00
2006-11-29 08:15:59 +00:00
2006-04-06 04:29:24 +00:00
2007-01-05 01:07:59 +00:00
2006-03-18 01:45:29 +00:00