tty: n_hdlc add buffer flushing
authorPaul Fulghum <paulkf@microgate.com>
Mon, 22 Jun 2009 17:42:56 +0000 (18:42 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 22 Jun 2009 18:32:24 +0000 (11:32 -0700)
commitbe10eb7589337e5defbe214dae038a53dd21add8
tree2b1d131baa30260531b51c3288d3cfef7deaf7ed
parent90ceb9644d7cdec00a90255473359a7e2bb537a9
tty: n_hdlc add buffer flushing

Add flush_buffer tty callback to flush rx buffers.
Add TCFLSH ioctl processing to flush tx buffers.
Increase default tx buffers from 1 to 3.
Remove unneeded flush_buffer call in open callback.
Remove vendor specific CVS version string.

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/n_hdlc.c