[PATCH] uml: Add throttling to console driver
This patch adds support for throttling and unthrottling input when the tty driver can't handle it. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9159c9dfff
commit
e4dcee8099
@@ -109,16 +109,6 @@ static void ssl_flush_buffer(struct tty_struct *tty)
|
||||
return;
|
||||
}
|
||||
|
||||
static void ssl_throttle(struct tty_struct * tty)
|
||||
{
|
||||
printk(KERN_ERR "Someone should implement ssl_throttle\n");
|
||||
}
|
||||
|
||||
static void ssl_unthrottle(struct tty_struct * tty)
|
||||
{
|
||||
printk(KERN_ERR "Someone should implement ssl_unthrottle\n");
|
||||
}
|
||||
|
||||
static void ssl_stop(struct tty_struct *tty)
|
||||
{
|
||||
printk(KERN_ERR "Someone should implement ssl_stop\n");
|
||||
@@ -145,9 +135,9 @@ static struct tty_operations ssl_ops = {
|
||||
.flush_chars = line_flush_chars,
|
||||
.set_termios = line_set_termios,
|
||||
.ioctl = line_ioctl,
|
||||
.throttle = line_throttle,
|
||||
.unthrottle = line_unthrottle,
|
||||
#if 0
|
||||
.throttle = ssl_throttle,
|
||||
.unthrottle = ssl_unthrottle,
|
||||
.stop = ssl_stop,
|
||||
.start = ssl_start,
|
||||
.hangup = ssl_hangup,
|
||||
|
Reference in New Issue
Block a user