OpenCloudOS-Kernel/drivers/tty/vt
Felipe Balbi b1c43f82c5 tty: make receive_buf() return the amout of bytes received
it makes it simpler to keep track of the amount of
bytes received and simplifies how flush_to_ldisc counts
the remaining bytes. It also fixes a bug of lost bytes
on n_tty when flushing too many bytes via the USB
serial gadget driver.

Tested-by: Stefan Bigler <stefan.bigler@keymile.com>
Tested-by: Toby Gray <toby.gray@realvnc.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-22 17:31:53 -07:00
..
.gitignore TTY: move .gitignore from drivers/char/ to drivers/tty/vt/ 2010-11-05 22:18:23 -07:00
Makefile TTY: create drivers/tty/vt and move the vt code there 2010-11-05 08:16:52 -07:00
consolemap.c TTY: create drivers/tty/vt and move the vt code there 2010-11-05 08:16:52 -07:00
cp437.uni TTY: create drivers/tty/vt and move the vt code there 2010-11-05 08:16:52 -07:00
defkeymap.c_shipped TTY: create drivers/tty/vt and move the vt code there 2010-11-05 08:16:52 -07:00
defkeymap.map TTY: create drivers/tty/vt and move the vt code there 2010-11-05 08:16:52 -07:00
keyboard.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
selection.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
vc_screen.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
vt.c tty: Clean console safely 2011-04-19 16:33:37 -07:00
vt_ioctl.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00