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/sundance.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/sundance.c')
| -rw-r--r-- | drivers/net/sundance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c index 6b8f4baf87fd..41c503d8bac4 100644 --- a/drivers/net/sundance.c +++ b/drivers/net/sundance.c | |||
| @@ -420,7 +420,7 @@ static void tx_timeout(struct net_device *dev); | |||
| 420 | static void init_ring(struct net_device *dev); | 420 | static void init_ring(struct net_device *dev); |
| 421 | static int start_tx(struct sk_buff *skb, struct net_device *dev); | 421 | static int start_tx(struct sk_buff *skb, struct net_device *dev); |
| 422 | static int reset_tx (struct net_device *dev); | 422 | static int reset_tx (struct net_device *dev); |
| 423 | static irqreturn_t intr_handler(int irq, void *dev_instance, struct pt_regs *regs); | 423 | static irqreturn_t intr_handler(int irq, void *dev_instance); |
| 424 | static void rx_poll(unsigned long data); | 424 | static void rx_poll(unsigned long data); |
| 425 | static void tx_poll(unsigned long data); | 425 | static void tx_poll(unsigned long data); |
| 426 | static void refill_rx (struct net_device *dev); | 426 | static void refill_rx (struct net_device *dev); |
| @@ -1102,7 +1102,7 @@ reset_tx (struct net_device *dev) | |||
| 1102 | 1102 | ||
| 1103 | /* The interrupt handler cleans up after the Tx thread, | 1103 | /* The interrupt handler cleans up after the Tx thread, |
| 1104 | and schedule a Rx thread work */ | 1104 | and schedule a Rx thread work */ |
| 1105 | static irqreturn_t intr_handler(int irq, void *dev_instance, struct pt_regs *rgs) | 1105 | static irqreturn_t intr_handler(int irq, void *dev_instance) |
| 1106 | { | 1106 | { |
| 1107 | struct net_device *dev = (struct net_device *)dev_instance; | 1107 | struct net_device *dev = (struct net_device *)dev_instance; |
| 1108 | struct netdev_private *np = netdev_priv(dev); | 1108 | struct netdev_private *np = netdev_priv(dev); |
