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/atp.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/atp.c')
-rw-r--r-- | drivers/net/atp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/atp.c b/drivers/net/atp.c index f2c8e0d5497b..062f80e20874 100644 --- a/drivers/net/atp.c +++ b/drivers/net/atp.c | |||
@@ -203,7 +203,7 @@ static void hardware_init(struct net_device *dev); | |||
203 | static void write_packet(long ioaddr, int length, unsigned char *packet, int pad, int mode); | 203 | static void write_packet(long ioaddr, int length, unsigned char *packet, int pad, int mode); |
204 | static void trigger_send(long ioaddr, int length); | 204 | static void trigger_send(long ioaddr, int length); |
205 | static int atp_send_packet(struct sk_buff *skb, struct net_device *dev); | 205 | static int atp_send_packet(struct sk_buff *skb, struct net_device *dev); |
206 | static irqreturn_t atp_interrupt(int irq, void *dev_id, struct pt_regs *regs); | 206 | static irqreturn_t atp_interrupt(int irq, void *dev_id); |
207 | static void net_rx(struct net_device *dev); | 207 | static void net_rx(struct net_device *dev); |
208 | static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); | 208 | static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); |
209 | static int net_close(struct net_device *dev); | 209 | static int net_close(struct net_device *dev); |
@@ -596,8 +596,7 @@ static int atp_send_packet(struct sk_buff *skb, struct net_device *dev) | |||
596 | 596 | ||
597 | /* The typical workload of the driver: | 597 | /* The typical workload of the driver: |
598 | Handle the network interface interrupts. */ | 598 | Handle the network interface interrupts. */ |
599 | static irqreturn_t | 599 | static irqreturn_t atp_interrupt(int irq, void *dev_instance) |
600 | atp_interrupt(int irq, void *dev_instance, struct pt_regs * regs) | ||
601 | { | 600 | { |
602 | struct net_device *dev = (struct net_device *)dev_instance; | 601 | struct net_device *dev = (struct net_device *)dev_instance; |
603 | struct net_local *lp; | 602 | struct net_local *lp; |