diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/capi/capi.c | 7 | ||||
-rw-r--r-- | drivers/isdn/gigaset/interface.c | 6 | ||||
-rw-r--r-- | drivers/isdn/hardware/avm/avm_cs.c | 14 | ||||
-rw-r--r-- | drivers/isdn/hisax/avma1_cs.c | 14 | ||||
-rw-r--r-- | drivers/isdn/hisax/elsa_cs.c | 14 | ||||
-rw-r--r-- | drivers/isdn/hisax/sedlbauer_cs.c | 14 | ||||
-rw-r--r-- | drivers/isdn/hisax/teles_cs.c | 14 | ||||
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 4 |
8 files changed, 7 insertions, 80 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index 89562a845f6a..ac6f72b455d1 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -569,7 +569,6 @@ static void capi_recv_message(struct capi20_appl *ap, struct sk_buff *skb) | |||
569 | { | 569 | { |
570 | struct capidev *cdev = ap->private; | 570 | struct capidev *cdev = ap->private; |
571 | #ifdef CONFIG_ISDN_CAPI_MIDDLEWARE | 571 | #ifdef CONFIG_ISDN_CAPI_MIDDLEWARE |
572 | struct tty_struct *tty; | ||
573 | struct capiminor *mp; | 572 | struct capiminor *mp; |
574 | u16 datahandle; | 573 | u16 datahandle; |
575 | struct capincci *np; | 574 | struct capincci *np; |
@@ -627,11 +626,7 @@ static void capi_recv_message(struct capi20_appl *ap, struct sk_buff *skb) | |||
627 | CAPIMSG_U16(skb->data, CAPIMSG_BASELEN + 4 + 2)); | 626 | CAPIMSG_U16(skb->data, CAPIMSG_BASELEN + 4 + 2)); |
628 | kfree_skb(skb); | 627 | kfree_skb(skb); |
629 | capiminor_del_ack(mp, datahandle); | 628 | capiminor_del_ack(mp, datahandle); |
630 | tty = tty_port_tty_get(&mp->port); | 629 | tty_port_tty_wakeup(&mp->port); |
631 | if (tty) { | ||
632 | tty_wakeup(tty); | ||
633 | tty_kref_put(tty); | ||
634 | } | ||
635 | handle_minor_send(mp); | 630 | handle_minor_send(mp); |
636 | 631 | ||
637 | } else { | 632 | } else { |
diff --git a/drivers/isdn/gigaset/interface.c b/drivers/isdn/gigaset/interface.c index e2b539675b66..600c79b030cd 100644 --- a/drivers/isdn/gigaset/interface.c +++ b/drivers/isdn/gigaset/interface.c | |||
@@ -487,12 +487,8 @@ static const struct tty_operations if_ops = { | |||
487 | static void if_wake(unsigned long data) | 487 | static void if_wake(unsigned long data) |
488 | { | 488 | { |
489 | struct cardstate *cs = (struct cardstate *)data; | 489 | struct cardstate *cs = (struct cardstate *)data; |
490 | struct tty_struct *tty = tty_port_tty_get(&cs->port); | ||
491 | 490 | ||
492 | if (tty) { | 491 | tty_port_tty_wakeup(&cs->port); |
493 | tty_wakeup(tty); | ||
494 | tty_kref_put(tty); | ||
495 | } | ||
496 | } | 492 | } |
497 | 493 | ||
498 | /*** interface to common ***/ | 494 | /*** interface to common ***/ |
diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c index c21353d8e915..62b8030ee331 100644 --- a/drivers/isdn/hardware/avm/avm_cs.c +++ b/drivers/isdn/hardware/avm/avm_cs.c | |||
@@ -163,16 +163,4 @@ static struct pcmcia_driver avmcs_driver = { | |||
163 | .remove = avmcs_detach, | 163 | .remove = avmcs_detach, |
164 | .id_table = avmcs_ids, | 164 | .id_table = avmcs_ids, |
165 | }; | 165 | }; |
166 | 166 | module_pcmcia_driver(avmcs_driver); | |
167 | static int __init avmcs_init(void) | ||
168 | { | ||
169 | return pcmcia_register_driver(&avmcs_driver); | ||
170 | } | ||
171 | |||
172 | static void __exit avmcs_exit(void) | ||
173 | { | ||
174 | pcmcia_unregister_driver(&avmcs_driver); | ||
175 | } | ||
176 | |||
177 | module_init(avmcs_init); | ||
178 | module_exit(avmcs_exit); | ||
diff --git a/drivers/isdn/hisax/avma1_cs.c b/drivers/isdn/hisax/avma1_cs.c index 4e676bcf8506..baad94ec1f4a 100644 --- a/drivers/isdn/hisax/avma1_cs.c +++ b/drivers/isdn/hisax/avma1_cs.c | |||
@@ -159,16 +159,4 @@ static struct pcmcia_driver avma1cs_driver = { | |||
159 | .remove = avma1cs_detach, | 159 | .remove = avma1cs_detach, |
160 | .id_table = avma1cs_ids, | 160 | .id_table = avma1cs_ids, |
161 | }; | 161 | }; |
162 | 162 | module_pcmcia_driver(avma1cs_driver); | |
163 | static int __init init_avma1_cs(void) | ||
164 | { | ||
165 | return pcmcia_register_driver(&avma1cs_driver); | ||
166 | } | ||
167 | |||
168 | static void __exit exit_avma1_cs(void) | ||
169 | { | ||
170 | pcmcia_unregister_driver(&avma1cs_driver); | ||
171 | } | ||
172 | |||
173 | module_init(init_avma1_cs); | ||
174 | module_exit(exit_avma1_cs); | ||
diff --git a/drivers/isdn/hisax/elsa_cs.c b/drivers/isdn/hisax/elsa_cs.c index ebe56918f6fc..40f6fad79de3 100644 --- a/drivers/isdn/hisax/elsa_cs.c +++ b/drivers/isdn/hisax/elsa_cs.c | |||
@@ -215,16 +215,4 @@ static struct pcmcia_driver elsa_cs_driver = { | |||
215 | .suspend = elsa_suspend, | 215 | .suspend = elsa_suspend, |
216 | .resume = elsa_resume, | 216 | .resume = elsa_resume, |
217 | }; | 217 | }; |
218 | 218 | module_pcmcia_driver(elsa_cs_driver); | |
219 | static int __init init_elsa_cs(void) | ||
220 | { | ||
221 | return pcmcia_register_driver(&elsa_cs_driver); | ||
222 | } | ||
223 | |||
224 | static void __exit exit_elsa_cs(void) | ||
225 | { | ||
226 | pcmcia_unregister_driver(&elsa_cs_driver); | ||
227 | } | ||
228 | |||
229 | module_init(init_elsa_cs); | ||
230 | module_exit(exit_elsa_cs); | ||
diff --git a/drivers/isdn/hisax/sedlbauer_cs.c b/drivers/isdn/hisax/sedlbauer_cs.c index 90f81291641b..92ef62d4caf4 100644 --- a/drivers/isdn/hisax/sedlbauer_cs.c +++ b/drivers/isdn/hisax/sedlbauer_cs.c | |||
@@ -206,16 +206,4 @@ static struct pcmcia_driver sedlbauer_driver = { | |||
206 | .suspend = sedlbauer_suspend, | 206 | .suspend = sedlbauer_suspend, |
207 | .resume = sedlbauer_resume, | 207 | .resume = sedlbauer_resume, |
208 | }; | 208 | }; |
209 | 209 | module_pcmcia_driver(sedlbauer_driver); | |
210 | static int __init init_sedlbauer_cs(void) | ||
211 | { | ||
212 | return pcmcia_register_driver(&sedlbauer_driver); | ||
213 | } | ||
214 | |||
215 | static void __exit exit_sedlbauer_cs(void) | ||
216 | { | ||
217 | pcmcia_unregister_driver(&sedlbauer_driver); | ||
218 | } | ||
219 | |||
220 | module_init(init_sedlbauer_cs); | ||
221 | module_exit(exit_sedlbauer_cs); | ||
diff --git a/drivers/isdn/hisax/teles_cs.c b/drivers/isdn/hisax/teles_cs.c index f2476ffb04fd..b8dd14958757 100644 --- a/drivers/isdn/hisax/teles_cs.c +++ b/drivers/isdn/hisax/teles_cs.c | |||
@@ -197,16 +197,4 @@ static struct pcmcia_driver teles_cs_driver = { | |||
197 | .suspend = teles_suspend, | 197 | .suspend = teles_suspend, |
198 | .resume = teles_resume, | 198 | .resume = teles_resume, |
199 | }; | 199 | }; |
200 | 200 | module_pcmcia_driver(teles_cs_driver); | |
201 | static int __init init_teles_cs(void) | ||
202 | { | ||
203 | return pcmcia_register_driver(&teles_cs_driver); | ||
204 | } | ||
205 | |||
206 | static void __exit exit_teles_cs(void) | ||
207 | { | ||
208 | pcmcia_unregister_driver(&teles_cs_driver); | ||
209 | } | ||
210 | |||
211 | module_init(init_teles_cs); | ||
212 | module_exit(exit_teles_cs); | ||
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index ebaebdf30f98..3c5f2491a16f 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c | |||
@@ -1472,9 +1472,6 @@ isdn_tty_set_termios(struct tty_struct *tty, struct ktermios *old_termios) | |||
1472 | tty->termios.c_ospeed == old_termios->c_ospeed) | 1472 | tty->termios.c_ospeed == old_termios->c_ospeed) |
1473 | return; | 1473 | return; |
1474 | isdn_tty_change_speed(info); | 1474 | isdn_tty_change_speed(info); |
1475 | if ((old_termios->c_cflag & CRTSCTS) && | ||
1476 | !(tty->termios.c_cflag & CRTSCTS)) | ||
1477 | tty->hw_stopped = 0; | ||
1478 | } | 1475 | } |
1479 | } | 1476 | } |
1480 | 1477 | ||
@@ -3427,7 +3424,6 @@ isdn_tty_parse_at(modem_info *info) | |||
3427 | p++; | 3424 | p++; |
3428 | isdn_tty_cmd_ATA(info); | 3425 | isdn_tty_cmd_ATA(info); |
3429 | return; | 3426 | return; |
3430 | break; | ||
3431 | case 'D': | 3427 | case 'D': |
3432 | /* D - Dial */ | 3428 | /* D - Dial */ |
3433 | if (info->msr & UART_MSR_DCD) | 3429 | if (info->msr & UART_MSR_DCD) |