patch-2.1.60 linux/drivers/net/sdla.c
Next file: linux/drivers/net/seeq8005.c
Previous file: linux/drivers/net/pt.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Wed Oct 22 08:27:32 1997
- Orig file:
v2.1.59/linux/drivers/net/sdla.c
- Orig date:
Tue May 13 22:41:09 1997
diff -u --recursive --new-file v2.1.59/linux/drivers/net/sdla.c linux/drivers/net/sdla.c
@@ -872,7 +872,7 @@
struct frad_local *flp;
char byte;
- dev = irq2dev_map[irq];
+ dev = dev_id;
if (dev == NULL)
{
@@ -1475,10 +1475,8 @@
}
dev->irq = map->irq;
- if (request_irq(dev->irq, &sdla_isr, 0, dev->name, NULL))
+ if (request_irq(dev->irq, &sdla_isr, 0, dev->name, dev))
return(-EAGAIN);
-
- irq2dev_map[dev->irq] = dev;
if (flp->type == SDLA_S507)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov