diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-01-06 03:18:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:46 -0500 |
commit | e4dcee8099802c71437a15b940f66106d9f88b2f (patch) | |
tree | b4831639d38369fce2e20fd40730425ca702102c /arch/um/drivers/ssl.c | |
parent | 9159c9dfffe1746d58b015ceaa3b7b8e99ee9d5c (diff) |
[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>
Diffstat (limited to 'arch/um/drivers/ssl.c')
-rw-r--r-- | arch/um/drivers/ssl.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c index 6823dc5d665c..a32ef55cb244 100644 --- a/arch/um/drivers/ssl.c +++ b/arch/um/drivers/ssl.c | |||
@@ -109,16 +109,6 @@ static void ssl_flush_buffer(struct tty_struct *tty) | |||
109 | return; | 109 | return; |
110 | } | 110 | } |
111 | 111 | ||
112 | static void ssl_throttle(struct tty_struct * tty) | ||
113 | { | ||
114 | printk(KERN_ERR "Someone should implement ssl_throttle\n"); | ||
115 | } | ||
116 | |||
117 | static void ssl_unthrottle(struct tty_struct * tty) | ||
118 | { | ||
119 | printk(KERN_ERR "Someone should implement ssl_unthrottle\n"); | ||
120 | } | ||
121 | |||
122 | static void ssl_stop(struct tty_struct *tty) | 112 | static void ssl_stop(struct tty_struct *tty) |
123 | { | 113 | { |
124 | printk(KERN_ERR "Someone should implement ssl_stop\n"); | 114 | printk(KERN_ERR "Someone should implement ssl_stop\n"); |
@@ -145,9 +135,9 @@ static struct tty_operations ssl_ops = { | |||
145 | .flush_chars = line_flush_chars, | 135 | .flush_chars = line_flush_chars, |
146 | .set_termios = line_set_termios, | 136 | .set_termios = line_set_termios, |
147 | .ioctl = line_ioctl, | 137 | .ioctl = line_ioctl, |
138 | .throttle = line_throttle, | ||
139 | .unthrottle = line_unthrottle, | ||
148 | #if 0 | 140 | #if 0 |
149 | .throttle = ssl_throttle, | ||
150 | .unthrottle = ssl_unthrottle, | ||
151 | .stop = ssl_stop, | 141 | .stop = ssl_stop, |
152 | .start = ssl_start, | 142 | .start = ssl_start, |
153 | .hangup = ssl_hangup, | 143 | .hangup = ssl_hangup, |