freebsd-src/sys/dev/uart
Colin Percival c4b68e7e53 ns8250: Check if flush via FCR succeeded
The emulated UART in the Firecracker VMM (aka the implementation in the
rust-vmm/vm-superio project) includes FIFOs but does not implement the
FCR register, which is used by ns8250_flush to flush the FIFOs.

Check the LSR to see if there is still data in the FIFOs and call
ns8250_drain if necessary.

Discussed with:	emaste, imp, jrtc27
Sponsored by:	https://patreon.com/cperciva
Differential Revision:	https://reviews.freebsd.org/D36979
2022-10-17 23:02:21 -07:00
..
uart.h uart: Remove sbbc reference 2022-09-30 18:26:45 -06:00
uart_bus.h
uart_bus_acpi.c uart_bus_acpi: Read clock frequency from bus 2022-09-07 09:44:58 +02:00
uart_bus_fdt.c
uart_bus_isa.c
uart_bus_pci.c
uart_bus_puc.c
uart_bus_scc.c
uart_core.c
uart_cpu.h
uart_cpu_acpi.c
uart_cpu_acpi.h
uart_cpu_arm64.c uart: uart_cpu_arm64: fix the build without FDT 2022-09-29 14:33:32 -05:00
uart_cpu_fdt.c
uart_cpu_fdt.h
uart_cpu_powerpc.c
uart_cpu_x86.c
uart_dbg.c
uart_dev_imx.c
uart_dev_imx.h
uart_dev_lowrisc.c
uart_dev_lowrisc.h
uart_dev_msm.c
uart_dev_msm.h
uart_dev_mu.c
uart_dev_mvebu.c
uart_dev_ns8250.c ns8250: Check if flush via FCR succeeded 2022-10-17 23:02:21 -07:00
uart_dev_ns8250.h
uart_dev_pl011.c
uart_dev_quicc.c
uart_dev_snps.c uart_dev_snps: Fix device probing 2022-10-06 16:42:51 +02:00
uart_dev_ti8250.c
uart_dev_z8530.c
uart_if.m
uart_ppstypes.h
uart_subr.c arm: Catch up with Samsung S3C2xx0 code removal 2022-09-30 18:12:10 -06:00
uart_tty.c Downgrade tty_intr_event from a global 2022-10-12 13:46:12 -03:00