diff options
Diffstat (limited to 'drivers/net/3c523.c')
-rw-r--r-- | drivers/net/3c523.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/3c523.c b/drivers/net/3c523.c index cf8a0bc3bf34..1c97271112d0 100644 --- a/drivers/net/3c523.c +++ b/drivers/net/3c523.c | |||
@@ -180,7 +180,7 @@ sizeof(nop_cmd) = 8; | |||
180 | dev->name,__LINE__); \ | 180 | dev->name,__LINE__); \ |
181 | elmc_id_reset586(); } } } | 181 | elmc_id_reset586(); } } } |
182 | 182 | ||
183 | static irqreturn_t elmc_interrupt(int irq, void *dev_id, struct pt_regs *reg_ptr); | 183 | static irqreturn_t elmc_interrupt(int irq, void *dev_id); |
184 | static int elmc_open(struct net_device *dev); | 184 | static int elmc_open(struct net_device *dev); |
185 | static int elmc_close(struct net_device *dev); | 185 | static int elmc_close(struct net_device *dev); |
186 | static int elmc_send_packet(struct sk_buff *, struct net_device *); | 186 | static int elmc_send_packet(struct sk_buff *, struct net_device *); |
@@ -900,14 +900,14 @@ static void *alloc_rfa(struct net_device *dev, void *ptr) | |||
900 | */ | 900 | */ |
901 | 901 | ||
902 | static irqreturn_t | 902 | static irqreturn_t |
903 | elmc_interrupt(int irq, void *dev_id, struct pt_regs *reg_ptr) | 903 | elmc_interrupt(int irq, void *dev_id) |
904 | { | 904 | { |
905 | struct net_device *dev = (struct net_device *) dev_id; | 905 | struct net_device *dev = (struct net_device *) dev_id; |
906 | unsigned short stat; | 906 | unsigned short stat; |
907 | struct priv *p; | 907 | struct priv *p; |
908 | 908 | ||
909 | if (dev == NULL) { | 909 | if (dev == NULL) { |
910 | printk(KERN_ERR "elmc-interrupt: irq %d for unknown device.\n", (int) -(((struct pt_regs *) reg_ptr)->orig_eax + 2)); | 910 | printk(KERN_ERR "elmc-interrupt: irq %d for unknown device.\n", irq); |
911 | return IRQ_NONE; | 911 | return IRQ_NONE; |
912 | } else if (!netif_running(dev)) { | 912 | } else if (!netif_running(dev)) { |
913 | /* The 3c523 has this habit of generating interrupts during the | 913 | /* The 3c523 has this habit of generating interrupts during the |