Implement hotchar support for ucom.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Oct 2004 03:20:52 +0000 (03:20 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Oct 2004 03:20:52 +0000 (03:20 +0000)
commit6a76f45ae4d56ebd3c360269e202f60d53230bfa
tree26ff910d78ddbd05ca2a6bd26580e51303441bb1
parentbf844ffa4f2c68bdd965d3a79b3abcb7ad6548be
Implement hotchar support for ucom.

Fix a problem where ucomstop() was calling ucomstopread() and completely
halting the receive pipe.  No, ucomstop() with FREAD is only supposed to
*flush* the receive pipe, not halt it!  It turns out that ppp doesn't flush
but pppd does.

Bug-Reports-By: Rahul Siddharthan <rsidd@online.fr>
sys/dev/usbmisc/ucom/ucom.c