patch-2.3.27 linux/drivers/isdn/pcbit/drv.c
Next file: linux/drivers/isdn/pcbit/layer2.c
Previous file: linux/drivers/isdn/isdnloop/isdnloop.h
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Sun Nov 7 16:34:00 1999
- Orig file:
v2.3.26/linux/drivers/isdn/pcbit/drv.c
- Orig date:
Thu Aug 12 09:42:33 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/isdn/pcbit/drv.c linux/drivers/isdn/pcbit/drv.c
@@ -86,9 +86,7 @@
dev_pcbit[board] = dev;
memset(dev, 0, sizeof(struct pcbit_dev));
-#ifdef COMPAT_HAS_NEW_WAITQ
init_waitqueue_head(&dev->set_running_wq);
-#endif
if (mem_base >= 0xA0000 && mem_base <= 0xFFFFF )
dev->sh_mem = (unsigned char*) mem_base;
@@ -593,20 +591,6 @@
dev->b1->s_refnum,
dev->b2->s_refnum);
#endif
-#if 0
- if (dev->b1->s_refnum == refnum)
- chan = dev->b1;
- else {
-
- if (dev->b2->s_refnum == refnum)
- chan = dev->b2;
- else {
- chan = NULL;
- printk(KERN_WARNING "Connection Confirm - refnum doesn't match chan\n");
- break;
- }
- }
-#else
/* We just try to find a channel in the right state */
if (dev->b1->fsm_state == ST_CALL_INIT)
@@ -620,7 +604,6 @@
break;
}
}
-#endif
if (capi_decode_conn_conf(chan, skb, &complete)) {
printk(KERN_DEBUG "conn_conf indicates error\n");
pcbit_fsm_event(dev, chan, EV_ERROR, NULL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)