Uart driver: on close, wait for output queue to drain.
This commit is contained in:
@@ -211,6 +211,11 @@ int ttyselect (struct tty *tp, int rw);
|
||||
*/
|
||||
void ttyflush (struct tty *tp, int rw);
|
||||
|
||||
/*
|
||||
* Wait for output to drain, and flush input.
|
||||
*/
|
||||
void ttywflush (struct tty *tp);
|
||||
|
||||
#endif /* KERNEL */
|
||||
|
||||
/* internal state bits */
|
||||
|
||||
Reference in New Issue
Block a user