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
..
2015-10-28 18:53:18 +00:00
2015-01-23 21:07:08 +00:00
2015-01-08 21:46:28 +00:00
2015-08-14 22:57:13 +00:00
2016-01-09 20:18:53 +00:00
2015-06-24 15:52:26 +00:00
2015-12-26 15:40:12 +00:00
2015-06-10 10:48:12 +00:00
2014-09-04 21:31:25 +00:00
2016-01-09 20:18:53 +00:00
2015-10-22 21:30:39 +00:00
2015-02-05 01:43:21 +00:00
2015-07-20 09:37:42 +00:00
2016-01-09 01:56:46 +00:00
2016-01-07 20:08:02 +00:00
2015-05-22 17:05:21 +00:00
2014-06-28 03:56:17 +00:00
2015-06-26 04:14:05 +00:00
2015-02-20 20:49:00 +00:00
2015-11-07 00:18:14 +00:00
2014-05-29 01:42:22 +00:00
2015-11-16 23:02:33 +00:00
2016-01-02 02:53:48 +00:00
2015-03-16 19:29:19 +00:00
2015-09-23 12:45:08 +00:00
2015-12-16 23:39:27 +00:00
2015-12-16 23:39:27 +00:00
2015-03-16 19:18:45 +00:00
2014-10-28 12:00:39 +00:00
2015-12-29 23:25:26 +00:00
2015-04-22 14:38:58 +00:00
2015-11-25 07:14:58 +00:00
2015-07-21 14:39:34 +00:00
2015-12-15 17:25:00 +00:00
2015-07-31 10:21:58 +00:00
2015-12-30 13:49:20 +00:00
2014-06-28 03:56:17 +00:00
2015-12-11 05:27:53 +00:00
2015-08-02 00:03:08 +00:00
2015-01-10 06:48:35 +00:00
2015-07-19 22:24:33 +00:00
2015-11-15 12:10:51 +00:00
2015-12-11 20:05:07 +00:00
2015-12-20 02:05:33 +00:00
2015-11-12 22:00:59 +00:00
2015-10-10 09:21:55 +00:00
2015-08-02 00:03:08 +00:00
2015-07-12 18:38:17 +00:00
2015-07-11 15:21:37 +00:00
2014-06-28 03:56:17 +00:00
2015-10-29 13:53:37 +00:00
2014-06-28 03:56:17 +00:00
2015-04-14 14:22:34 +00:00
2014-06-28 03:56:17 +00:00
2015-12-18 16:33:15 +00:00
2015-08-20 22:44:26 +00:00
2016-01-14 10:16:25 +00:00
2015-12-16 23:39:27 +00:00
2015-12-13 11:30:36 +00:00
2015-12-22 21:07:33 +00:00
2015-09-15 22:16:21 +00:00
2015-08-02 00:03:08 +00:00
2015-11-23 07:09:35 +00:00
2015-10-01 10:52:26 +00:00
2015-12-29 23:25:26 +00:00
2015-01-22 11:12:42 +00:00
2015-08-02 00:03:08 +00:00
2015-05-29 13:24:17 +00:00
2015-06-10 10:48:12 +00:00
2015-11-07 18:26:32 +00:00
2015-11-02 03:14:37 +00:00
2015-12-29 23:25:26 +00:00
2015-12-29 23:16:20 +00:00
2015-12-27 15:37:07 +00:00
2015-12-16 23:39:27 +00:00
2015-10-30 20:47:42 +00:00
2015-08-30 18:02:57 +00:00
2015-09-20 01:27:59 +00:00
2015-12-23 03:34:43 +00:00
2015-10-27 22:59:24 +00:00
2015-10-22 21:28:20 +00:00
2015-05-24 14:44:06 +00:00
2015-12-18 05:43:59 +00:00
2015-08-03 20:43:36 +00:00
2015-08-26 16:36:41 +00:00
2015-06-16 20:19:00 +00:00
2015-09-04 00:14:20 +00:00
2016-01-11 20:38:39 +00:00
2015-06-30 17:00:45 +00:00
2015-10-20 03:25:17 +00:00
2015-12-01 02:48:42 +00:00
2014-12-12 09:37:18 +00:00
2014-10-21 07:31:21 +00:00
2015-01-20 03:54:30 +00:00
2014-12-21 05:07:11 +00:00
2015-07-11 16:22:48 +00:00
2015-02-06 16:09:01 +00:00
2015-12-18 05:43:59 +00:00
2014-10-21 07:31:21 +00:00
2014-12-13 21:00:10 +00:00
2014-07-11 13:58:48 +00:00
2015-08-21 15:57:57 +00:00
2014-06-28 03:56:17 +00:00
2015-09-21 15:02:59 +00:00
2015-11-19 05:50:22 +00:00
2014-11-26 14:10:00 +00:00
2015-11-05 23:12:23 +00:00
2015-10-02 09:23:14 +00:00
2014-08-11 15:06:07 +00:00
2015-01-26 16:26:28 +00:00
2015-01-22 11:12:42 +00:00
2015-11-08 14:26:50 +00:00
2015-11-19 05:56:59 +00:00
2015-12-17 00:00:27 +00:00
2015-11-13 22:51:35 +00:00
2014-11-01 17:05:15 +00:00
2015-07-13 22:52:11 +00:00
2015-05-21 15:16:18 +00:00
2015-12-03 20:54:55 +00:00
2015-05-22 17:05:21 +00:00
2015-11-23 18:45:35 +00:00
2015-08-11 08:43:50 +00:00
2015-07-09 09:22:21 +00:00
2015-07-29 17:18:27 +00:00
2015-07-18 09:02:50 +00:00
2015-12-29 23:25:26 +00:00
2014-11-12 09:57:15 +00:00
2015-10-22 21:30:39 +00:00
2015-07-11 15:22:11 +00:00
2015-07-11 15:22:11 +00:00
2015-04-29 10:23:02 +00:00
2015-04-29 10:23:02 +00:00
2015-10-10 09:29:47 +00:00
2015-06-10 10:48:12 +00:00
2015-07-06 18:53:56 +00:00
2016-01-19 23:34:27 +00:00
2014-07-26 19:27:34 +00:00
2015-07-21 09:57:13 +00:00
2015-05-22 17:05:21 +00:00
2015-08-08 15:50:46 +00:00
2016-01-08 20:34:57 +00:00
2015-03-17 14:16:50 +00:00
2015-04-11 15:40:28 +00:00
2015-07-23 23:18:03 +00:00
2015-12-16 21:30:45 +00:00
2016-01-08 19:03:20 +00:00
2015-07-27 13:17:57 +00:00
2016-01-08 20:34:57 +00:00
2016-01-08 19:03:20 +00:00
2015-06-16 13:09:18 +00:00
2016-01-19 21:37:51 +00:00
2015-12-16 00:13:16 +00:00
2016-01-07 02:04:17 +00:00
2015-07-23 19:13:41 +00:00
2016-01-05 14:48:40 +00:00
2014-11-06 12:19:39 +00:00
2015-06-16 13:09:18 +00:00
2015-09-06 05:50:51 +00:00
2015-09-15 23:06:56 +00:00
2015-09-28 12:14:16 +00:00
2015-08-24 13:18:13 +00:00
2015-10-30 15:52:10 +00:00
2016-01-18 22:21:46 +00:00
2015-11-20 14:08:12 +00:00
2016-01-17 08:40:51 +00:00
2015-12-16 21:30:45 +00:00