diff options
author | marius <marius@FreeBSD.org> | 2016-01-27 22:48:04 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2016-01-27 22:48:04 +0000 |
commit | 8a3d40f3e5425c839165d3e5d86dac78fc0b2fa9 (patch) | |
tree | 9f35e08c97350406026bf3cc3da682a658e8b035 /sys/dev/uart/uart_dev_ns8250.c | |
parent | 9240aed7779eb28e8b36afbed9b59484fd2c6539 (diff) | |
download | FreeBSD-src-8a3d40f3e5425c839165d3e5d86dac78fc0b2fa9.zip FreeBSD-src-8a3d40f3e5425c839165d3e5d86dac78fc0b2fa9.tar.gz |
MFC: r294362, r294414, r294753
- 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
- Make the code consistent with itself style-wise and bring it closer
to style(9).
- Mark unused arguments as such.
- Make the ttystates table const.
Diffstat (limited to 'sys/dev/uart/uart_dev_ns8250.c')
0 files changed, 0 insertions, 0 deletions