mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 01:11:30 -05:00
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 |
||
|---|---|---|
| .. | ||
| uart.h | ||
| uart_bus.h | ||
| uart_bus_acpi.c | ||
| uart_bus_ebus.c | ||
| uart_bus_isa.c | ||
| uart_bus_pccard.c | ||
| uart_bus_pci.c | ||
| uart_bus_puc.c | ||
| uart_bus_scc.c | ||
| uart_core.c | ||
| uart_cpu.h | ||
| uart_cpu_amd64.c | ||
| uart_cpu_i386.c | ||
| uart_cpu_ia64.c | ||
| uart_cpu_pc98.c | ||
| uart_cpu_powerpc.c | ||
| uart_cpu_sparc64.c | ||
| uart_dbg.c | ||
| uart_dev_ns8250.c | ||
| uart_dev_sab82532.c | ||
| uart_dev_z8530.c | ||
| uart_if.m | ||
| uart_kbd_sun.c | ||
| uart_kbd_sun.h | ||
| uart_kbd_sun_tables.h | ||
| uart_subr.c | ||
| uart_tty.c | ||