aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/epca.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-07-22 06:17:32 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-22 16:03:27 -0400
commit30252ec958897d61925a4baf79cd9411a6be0486 (patch)
treea00fa70e7e8328389a2fe05c297d43d1faf57f8a /drivers/char/epca.c
parentd2fbd0f2f9f5a34831a0b8fe6b16c6e1afba1200 (diff)
epca: Fix comments and move break
The ioctls it talks about are midlayer provided. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/epca.c')
-rw-r--r--drivers/char/epca.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/epca.c b/drivers/char/epca.c
index ac9995f6578b..94dca7b082b2 100644
--- a/drivers/char/epca.c
+++ b/drivers/char/epca.c
@@ -2189,11 +2189,6 @@ static int pc_ioctl(struct tty_struct *tty, struct file *file,
2189 bc = ch->brdchan; 2189 bc = ch->brdchan;
2190 else 2190 else
2191 return -EINVAL; 2191 return -EINVAL;
2192 /*
2193 * For POSIX compliance we need to add more ioctls. See tty_ioctl.c in
2194 * /usr/src/linux/drivers/char for a good example. In particular think
2195 * about adding TCSETAF, TCSETAW, TCSETA, TCSETSF, TCSETSW, TCSETS.
2196 */
2197 switch (cmd) { 2192 switch (cmd) {
2198 case TCSBRK: /* SVID version: non-zero arg --> no break */ 2193 case TCSBRK: /* SVID version: non-zero arg --> no break */
2199 retval = tty_check_change(tty); 2194 retval = tty_check_change(tty);