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>
This commit is contained in:
parent
d2fbd0f2f9
commit
30252ec958
1 changed files with 0 additions and 5 deletions
|
@ -2189,11 +2189,6 @@ static int pc_ioctl(struct tty_struct *tty, struct file *file,
|
||||||
bc = ch->brdchan;
|
bc = ch->brdchan;
|
||||||
else
|
else
|
||||||
return -EINVAL;
|
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) {
|
switch (cmd) {
|
||||||
case TCSBRK: /* SVID version: non-zero arg --> no break */
|
case TCSBRK: /* SVID version: non-zero arg --> no break */
|
||||||
retval = tty_check_change(tty);
|
retval = tty_check_change(tty);
|
||||||
|
|
Loading…
Add table
Reference in a new issue