patch-2.1.62 linux/drivers/isdn/hisax/avm_a1.c
Next file: linux/drivers/isdn/hisax/elsa.c
Previous file: linux/drivers/isdn/avmb1/capi.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Nov 3 09:54:38 1997
- Orig file:
v2.1.61/linux/drivers/isdn/hisax/avm_a1.c
- Orig date:
Thu May 29 21:53:05 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/isdn/hisax/avm_a1.c linux/drivers/isdn/hisax/avm_a1.c
@@ -558,7 +558,7 @@
u_char val, sval, stat = 0;
char tmp[32];
- sp = (struct IsdnCardState *) irq2dev_map[intno];
+ sp = (struct IsdnCardState *) dev_id;
if (!sp) {
printk(KERN_WARNING "AVM A1: Spurious interrupt!\n");
@@ -798,8 +798,7 @@
printk(KERN_WARNING
"AVM A1: IRQ(%d) getting no interrupts during init\n",
sp->irq);
- irq2dev_map[sp->irq] = NULL;
- free_irq(sp->irq, NULL);
+ free_irq(sp->irq, sp);
return (0);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov