opnsense-src/sys/dev/uart
Marius Strobl 9750d9e5b6 Fix tty_drain() and, thus, TIOCDRAIN of the current tty(4) incarnation
to actually wait until the TX FIFOs of UARTs have be drained before
returning. This is done by bringing the equivalent of the TS_BUSY flag
found in the previous implementation back in an ABI-preserving way.
Reported and tested by: Patrick Powell

Most likely, drivers for USB-serial-adapters likewise incorporating
TX FIFOs as well as other terminal devices that buffer output in some
form should also provide implementations of tsw_busy.

MFC after:	3 days
2016-01-19 23:34:27 +00:00
..
uart.h Move the uart_class definitions and fdt compat data into the individual 2015-03-07 15:24:15 +00:00
uart_bus.h Restore uart PPS signal capture polarity to its historical norm, and add an 2016-01-12 18:42:00 +00:00
uart_bus_acpi.c uart: add resume method and enable it for attachments on the most common 2013-02-02 11:38:26 +00:00
uart_bus_ebus.c
uart_bus_fdt.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_bus_isa.c uart: add resume method and enable it for attachments on the most common 2013-02-02 11:38:26 +00:00
uart_bus_pccard.c Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO building 2015-12-11 05:27:56 +00:00
uart_bus_pci.c Add ID for Intel Panther Point KT Controller 2015-09-13 12:08:25 +00:00
uart_bus_puc.c
uart_bus_scc.c
uart_core.c Restore uart PPS signal capture polarity to its historical norm, and add an 2016-01-12 18:42:00 +00:00
uart_cpu.h Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_cpu_fdt.c Use OF_decode_addr() to create a bus_space tag and handle for the console 2016-01-18 17:03:12 +00:00
uart_cpu_fdt.h Remove the extra copy of uart_fdt_get_clock and uart_fdt_get_shift. While 2015-04-04 09:57:52 +00:00
uart_cpu_pc98.c
uart_cpu_powerpc.c Do not fail the low-level device probe simply because the kernel 2014-07-26 17:49:40 +00:00
uart_cpu_sparc64.c
uart_cpu_x86.c
uart_dbg.c
uart_dev_imx.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_dev_imx.h Remove a duplicate definition. 2015-12-05 15:09:19 +00:00
uart_dev_lpc.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_dev_msm.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_dev_msm.h Add uart driver for Qualcomm MSM 7000/8000 series chips. 2014-10-02 08:12:42 +00:00
uart_dev_ns8250.c Restore uart PPS signal capture polarity to its historical norm, and add an 2016-01-12 18:42:00 +00:00
uart_dev_ns8250.h Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_dev_pl011.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_dev_quicc.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_dev_sab82532.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_dev_ti8250.c Switch TI platform support code from using FreeBSD's custom-baked DTS 2015-05-22 03:16:18 +00:00
uart_dev_z8530.c Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
uart_if.m Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_kbd_sun.c
uart_kbd_sun.h
uart_kbd_sun_tables.h
uart_ppstypes.h Restore uart PPS signal capture polarity to its historical norm, and add an 2016-01-12 18:42:00 +00:00
uart_subr.c Move the uart_class definitions and fdt compat data into the individual 2015-03-07 15:24:15 +00:00
uart_tty.c Fix tty_drain() and, thus, TIOCDRAIN of the current tty(4) incarnation 2016-01-19 23:34:27 +00:00