patch-2.1.60 linux/drivers/net/ne.c
Next file: linux/drivers/net/ni52.c
Previous file: linux/drivers/net/ltpc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Oct 22 08:27:32 1997
- Orig file:
v2.1.59/linux/drivers/net/ne.c
- Orig date:
Mon Oct 20 10:36:52 1997
diff -u --recursive --new-file v2.1.59/linux/drivers/net/ne.c linux/drivers/net/ne.c
@@ -427,7 +427,8 @@
/* Snarf the interrupt now. There's no point in waiting since we cannot
share and the board will usually be enabled. */
{
- int irqval = request_irq(dev->irq, ei_interrupt, SA_INTERRUPT, name, NULL);
+ int irqval = request_irq(dev->irq, ei_interrupt,
+ pci_irq_line ? SA_SHIRQ : 0, name, dev);
if (irqval) {
printk (" unable to get IRQ %d (irqval=%d).\n", dev->irq, irqval);
return EAGAIN;
@@ -785,7 +786,6 @@
kfree(dev->priv);
dev->priv = NULL;
free_irq(dev->irq, NULL);
- irq2dev_map[dev->irq] = NULL;
release_region(dev->base_addr, NE_IO_EXTENT);
unregister_netdev(dev);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov