]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
epca: Fix comments and move break
authorAlan Cox <alan@redhat.com>
Tue, 22 Jul 2008 10:17:32 +0000 (11:17 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Jul 2008 20:03:27 +0000 (13:03 -0700)
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>
drivers/char/epca.c

index ac9995f6578bc1694bf366e12723ae9fd44130ef..94dca7b082b23894761b2a7df754bab6aabe3c4b 100644 (file)
@@ -2189,11 +2189,6 @@ static int pc_ioctl(struct tty_struct *tty, struct file *file,
                bc = ch->brdchan;
        else
                return -EINVAL;
-       /*
-        * For POSIX compliance we need to add more ioctls. See tty_ioctl.c in
-        * /usr/src/linux/drivers/char for a good example. In particular think
-        * about adding TCSETAF, TCSETAW, TCSETA, TCSETSF, TCSETSW, TCSETS.
-        */
        switch (cmd) {
        case TCSBRK:    /* SVID version: non-zero arg --> no break */
                retval = tty_check_change(tty);