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/bnx2.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/bnx2.c')
-rw-r--r-- | drivers/net/bnx2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 6b4edb63c4c4..01b76d3aa42f 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -1888,7 +1888,7 @@ next_rx: | |||
1888 | * is that the MSI interrupt is always serviced. | 1888 | * is that the MSI interrupt is always serviced. |
1889 | */ | 1889 | */ |
1890 | static irqreturn_t | 1890 | static irqreturn_t |
1891 | bnx2_msi(int irq, void *dev_instance, struct pt_regs *regs) | 1891 | bnx2_msi(int irq, void *dev_instance) |
1892 | { | 1892 | { |
1893 | struct net_device *dev = dev_instance; | 1893 | struct net_device *dev = dev_instance; |
1894 | struct bnx2 *bp = netdev_priv(dev); | 1894 | struct bnx2 *bp = netdev_priv(dev); |
@@ -1908,7 +1908,7 @@ bnx2_msi(int irq, void *dev_instance, struct pt_regs *regs) | |||
1908 | } | 1908 | } |
1909 | 1909 | ||
1910 | static irqreturn_t | 1910 | static irqreturn_t |
1911 | bnx2_interrupt(int irq, void *dev_instance, struct pt_regs *regs) | 1911 | bnx2_interrupt(int irq, void *dev_instance) |
1912 | { | 1912 | { |
1913 | struct net_device *dev = dev_instance; | 1913 | struct net_device *dev = dev_instance; |
1914 | struct bnx2 *bp = netdev_priv(dev); | 1914 | struct bnx2 *bp = netdev_priv(dev); |
@@ -5554,7 +5554,7 @@ poll_bnx2(struct net_device *dev) | |||
5554 | struct bnx2 *bp = netdev_priv(dev); | 5554 | struct bnx2 *bp = netdev_priv(dev); |
5555 | 5555 | ||
5556 | disable_irq(bp->pdev->irq); | 5556 | disable_irq(bp->pdev->irq); |
5557 | bnx2_interrupt(bp->pdev->irq, dev, NULL); | 5557 | bnx2_interrupt(bp->pdev->irq, dev); |
5558 | enable_irq(bp->pdev->irq); | 5558 | enable_irq(bp->pdev->irq); |
5559 | } | 5559 | } |
5560 | #endif | 5560 | #endif |