diff options
Diffstat (limited to 'drivers/net/eexpress.c')
-rw-r--r-- | drivers/net/eexpress.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c index 9cb05d99ee1b..e14be020e562 100644 --- a/drivers/net/eexpress.c +++ b/drivers/net/eexpress.c | |||
@@ -249,7 +249,7 @@ static void eexp_timeout(struct net_device *dev); | |||
249 | static struct net_device_stats *eexp_stats(struct net_device *dev); | 249 | static struct net_device_stats *eexp_stats(struct net_device *dev); |
250 | static int eexp_xmit(struct sk_buff *buf, struct net_device *dev); | 250 | static int eexp_xmit(struct sk_buff *buf, struct net_device *dev); |
251 | 251 | ||
252 | static irqreturn_t eexp_irq(int irq, void *dev_addr, struct pt_regs *regs); | 252 | static irqreturn_t eexp_irq(int irq, void *dev_addr); |
253 | static void eexp_set_multicast(struct net_device *dev); | 253 | static void eexp_set_multicast(struct net_device *dev); |
254 | 254 | ||
255 | /* | 255 | /* |
@@ -789,20 +789,13 @@ static void eexp_cmd_clear(struct net_device *dev) | |||
789 | } | 789 | } |
790 | } | 790 | } |
791 | 791 | ||
792 | static irqreturn_t eexp_irq(int irq, void *dev_info, struct pt_regs *regs) | 792 | static irqreturn_t eexp_irq(int irq, void *dev_info) |
793 | { | 793 | { |
794 | struct net_device *dev = dev_info; | 794 | struct net_device *dev = dev_info; |
795 | struct net_local *lp; | 795 | struct net_local *lp; |
796 | unsigned short ioaddr,status,ack_cmd; | 796 | unsigned short ioaddr,status,ack_cmd; |
797 | unsigned short old_read_ptr, old_write_ptr; | 797 | unsigned short old_read_ptr, old_write_ptr; |
798 | 798 | ||
799 | if (dev==NULL) | ||
800 | { | ||
801 | printk(KERN_WARNING "eexpress: irq %d for unknown device\n", | ||
802 | irq); | ||
803 | return IRQ_NONE; | ||
804 | } | ||
805 | |||
806 | lp = netdev_priv(dev); | 799 | lp = netdev_priv(dev); |
807 | ioaddr = dev->base_addr; | 800 | ioaddr = dev->base_addr; |
808 | 801 | ||