97202af2dc
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 |
||
---|---|---|
.. | ||
assabet_machdep.c | ||
files.sa11x0 | ||
sa11x0_dmacreg.h | ||
sa11x0_gpioreg.h | ||
sa11x0_io_asm.S | ||
sa11x0_io.c | ||
sa11x0_irq.S | ||
sa11x0_irqhandler.c | ||
sa11x0_ost.c | ||
sa11x0_ostreg.h | ||
sa11x0_ppcreg.h | ||
sa11x0_reg.h | ||
sa11x0_var.h | ||
sa11x0.c | ||
std.sa11x0 | ||
uart_bus_sa1110.c | ||
uart_cpu_sa1110.c | ||
uart_dev_sa1110.c | ||
uart_dev_sa1110.h |