diff options
Diffstat (limited to 'drivers/isdn/gigaset/interface.c')
-rw-r--r-- | drivers/isdn/gigaset/interface.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/isdn/gigaset/interface.c b/drivers/isdn/gigaset/interface.c index 94fa84b2c4e7..311e7ca0fb01 100644 --- a/drivers/isdn/gigaset/interface.c +++ b/drivers/isdn/gigaset/interface.c | |||
@@ -143,9 +143,6 @@ static const struct tty_operations if_ops = { | |||
143 | .set_termios = if_set_termios, | 143 | .set_termios = if_set_termios, |
144 | .throttle = if_throttle, | 144 | .throttle = if_throttle, |
145 | .unthrottle = if_unthrottle, | 145 | .unthrottle = if_unthrottle, |
146 | #if 0 | ||
147 | .break_ctl = serial_break, | ||
148 | #endif | ||
149 | .tiocmget = if_tiocmget, | 146 | .tiocmget = if_tiocmget, |
150 | .tiocmset = if_tiocmset, | 147 | .tiocmset = if_tiocmset, |
151 | }; | 148 | }; |
@@ -565,29 +562,6 @@ static void if_set_termios(struct tty_struct *tty, struct ktermios *old) | |||
565 | 562 | ||
566 | cs->ops->set_line_ctrl(cs, cflag); | 563 | cs->ops->set_line_ctrl(cs, cflag); |
567 | 564 | ||
568 | #if 0 | ||
569 | //FIXME this hangs M101 [ts 2005-03-09] | ||
570 | //FIXME do we need this? | ||
571 | /* | ||
572 | * Set flow control: well, I do not really now how to handle DTR/RTS. | ||
573 | * Just do what we have seen with SniffUSB on Win98. | ||
574 | */ | ||
575 | /* Drop DTR/RTS if no flow control otherwise assert */ | ||
576 | gig_dbg(DEBUG_IF, "%u: control_state %x", | ||
577 | cs->minor_index, control_state); | ||
578 | new_state = control_state; | ||
579 | if ((iflag & IXOFF) || (iflag & IXON) || (cflag & CRTSCTS)) | ||
580 | new_state |= TIOCM_DTR | TIOCM_RTS; | ||
581 | else | ||
582 | new_state &= ~(TIOCM_DTR | TIOCM_RTS); | ||
583 | if (new_state != control_state) { | ||
584 | gig_dbg(DEBUG_IF, "%u: new_state %x", | ||
585 | cs->minor_index, new_state); | ||
586 | gigaset_set_modem_ctrl(cs, control_state, new_state); | ||
587 | control_state = new_state; | ||
588 | } | ||
589 | #endif | ||
590 | |||
591 | /* save off the modified port settings */ | 565 | /* save off the modified port settings */ |
592 | cs->control_state = control_state; | 566 | cs->control_state = control_state; |
593 | 567 | ||