diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/net/3c509.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/net/3c509.c')
-rw-r--r-- | drivers/net/3c509.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index b936373ab2a5..7ad0a54779c4 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c | |||
@@ -191,7 +191,7 @@ static ushort id_read_eeprom(int index); | |||
191 | static ushort read_eeprom(int ioaddr, int index); | 191 | static ushort read_eeprom(int ioaddr, int index); |
192 | static int el3_open(struct net_device *dev); | 192 | static int el3_open(struct net_device *dev); |
193 | static int el3_start_xmit(struct sk_buff *skb, struct net_device *dev); | 193 | static int el3_start_xmit(struct sk_buff *skb, struct net_device *dev); |
194 | static irqreturn_t el3_interrupt(int irq, void *dev_id, struct pt_regs *regs); | 194 | static irqreturn_t el3_interrupt(int irq, void *dev_id); |
195 | static void update_stats(struct net_device *dev); | 195 | static void update_stats(struct net_device *dev); |
196 | static struct net_device_stats *el3_get_stats(struct net_device *dev); | 196 | static struct net_device_stats *el3_get_stats(struct net_device *dev); |
197 | static int el3_rx(struct net_device *dev); | 197 | static int el3_rx(struct net_device *dev); |
@@ -910,7 +910,7 @@ el3_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
910 | 910 | ||
911 | /* The EL3 interrupt handler. */ | 911 | /* The EL3 interrupt handler. */ |
912 | static irqreturn_t | 912 | static irqreturn_t |
913 | el3_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 913 | el3_interrupt(int irq, void *dev_id) |
914 | { | 914 | { |
915 | struct net_device *dev = (struct net_device *)dev_id; | 915 | struct net_device *dev = (struct net_device *)dev_id; |
916 | struct el3_private *lp; | 916 | struct el3_private *lp; |
@@ -1006,7 +1006,7 @@ el3_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
1006 | static void el3_poll_controller(struct net_device *dev) | 1006 | static void el3_poll_controller(struct net_device *dev) |
1007 | { | 1007 | { |
1008 | disable_irq(dev->irq); | 1008 | disable_irq(dev->irq); |
1009 | el3_interrupt(dev->irq, dev, NULL); | 1009 | el3_interrupt(dev->irq, dev); |
1010 | enable_irq(dev->irq); | 1010 | enable_irq(dev->irq); |
1011 | } | 1011 | } |
1012 | #endif | 1012 | #endif |