patch-1.3.70 linux/drivers/net/eth16i.c
Next file: linux/drivers/net/ewrk3.c
Previous file: linux/drivers/net/eexpress.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Mar 1 07:50:44 1996
- Orig file:
v1.3.69/linux/drivers/net/eth16i.c
- Orig date:
Sat Nov 25 19:04:46 1995
diff -u --recursive --new-file v1.3.69/linux/drivers/net/eth16i.c linux/drivers/net/eth16i.c
@@ -326,7 +326,7 @@
static int eth16i_close(struct device *dev);
static int eth16i_tx(struct sk_buff *skb, struct device *dev);
static void eth16i_rx(struct device *dev);
-static void eth16i_interrupt(int irq, struct pt_regs *regs);
+static void eth16i_interrupt(int irq, void *dev_id, struct pt_regs *regs);
static void eth16i_multicast(struct device *dev, int num_addrs, void *addrs);
static void eth16i_select_regbank(unsigned char regbank, short ioaddr);
static void eth16i_initialize(struct device *dev);
@@ -423,7 +423,7 @@
dev->irq = irq;
/* Try to obtain interrupt vector */
- if(request_irq(dev->irq, ð16i_interrupt, 0, "eth16i")) {
+ if(request_irq(dev->irq, ð16i_interrupt, 0, "eth16i", NULL)) {
printk("%s: %s at %#3x, but is unusable due
conflict on IRQ %d.\n", dev->name, cardname, ioaddr, irq);
return EAGAIN;
@@ -1086,7 +1086,7 @@
return;
}
-static void eth16i_interrupt(int irq, struct pt_regs *regs)
+static void eth16i_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
struct device *dev = (struct device *)(irq2dev_map[irq]);
struct eth16i_local *lp;
@@ -1204,7 +1204,7 @@
void cleanup_module(void)
{
unregister_netdev( &dev_eth16i );
- free_irq( dev_eth16i.irq );
+ free_irq( dev_eth16i.irq, NULL );
irq2dev_map[ dev_eth16i.irq ] = NULL;
release_region( dev_eth16i.base_addr, ETH16I_IO_EXTENT );
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this