marius 545a381d5f - 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
..
2007-01-18 05:46:32 +00:00
2007-01-14 13:55:43 +00:00
2006-12-21 23:20:51 +00:00
2006-05-26 13:54:27 +00:00
2006-12-29 16:38:22 +00:00
2006-12-14 17:33:46 +00:00
2006-11-28 19:33:28 +00:00
2006-11-28 19:33:28 +00:00
2007-01-07 12:13:10 +00:00
2007-01-15 15:06:28 +00:00
2006-11-26 18:27:16 +00:00