patch-2.1.62 linux/drivers/isdn/hisax/isdnl1.c
Next file: linux/drivers/isdn/hisax/ix1_micro.c
Previous file: linux/drivers/isdn/hisax/elsa.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Nov 3 09:54:38 1997
- Orig file:
v2.1.61/linux/drivers/isdn/hisax/isdnl1.c
- Orig date:
Thu May 29 21:53:06 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/isdn/hisax/isdnl1.c linux/drivers/isdn/hisax/isdnl1.c
@@ -766,13 +766,12 @@
save_flags(flags);
cli();
if (request_irq(card->sp->irq, routine,
- I4L_IRQ_FLAG, "HiSax", NULL)) {
+ I4L_IRQ_FLAG, "HiSax", card->sp)) {
printk(KERN_WARNING "HiSax: couldn't get interrupt %d\n",
card->sp->irq);
restore_flags(flags);
return (0);
}
- irq2dev_map[card->sp->irq] = (void *) card->sp;
restore_flags(flags);
return (1);
}
@@ -782,8 +781,7 @@
{
struct IsdnCard *card = cards + cardnr;
- irq2dev_map[card->sp->irq] = NULL;
- free_irq(card->sp->irq, NULL);
+ free_irq(card->sp->irq, card->sp);
}
void
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov