Skip to content

Commit

Permalink
epca: Fix comments and move break
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Jul 22, 2008
1 parent d2fbd0f commit 30252ec
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/char/epca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 30252ec

Please sign in to comment.