diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 22:29:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 16:58:51 -0400 |
commit | 1fb9df5d3069064c037c81c0ab8bf783ffa5e373 (patch) | |
tree | 23028cfd5b98a72fcf12256fac4bc0c68181f2c4 /drivers/net/via-rhine.c | |
parent | dace145374b8e39aeb920304c358ab5e220341ab (diff) |
[PATCH] irq-flags: drivers/net: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r-- | drivers/net/via-rhine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index c80a4f1d5f7a..98b6f3207d3d 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c | |||
@@ -1210,7 +1210,7 @@ static int rhine_open(struct net_device *dev) | |||
1210 | void __iomem *ioaddr = rp->base; | 1210 | void __iomem *ioaddr = rp->base; |
1211 | int rc; | 1211 | int rc; |
1212 | 1212 | ||
1213 | rc = request_irq(rp->pdev->irq, &rhine_interrupt, SA_SHIRQ, dev->name, | 1213 | rc = request_irq(rp->pdev->irq, &rhine_interrupt, IRQF_SHARED, dev->name, |
1214 | dev); | 1214 | dev); |
1215 | if (rc) | 1215 | if (rc) |
1216 | return rc; | 1216 | return rc; |
@@ -1999,7 +1999,7 @@ static int rhine_resume(struct pci_dev *pdev) | |||
1999 | if (!netif_running(dev)) | 1999 | if (!netif_running(dev)) |
2000 | return 0; | 2000 | return 0; |
2001 | 2001 | ||
2002 | if (request_irq(dev->irq, rhine_interrupt, SA_SHIRQ, dev->name, dev)) | 2002 | if (request_irq(dev->irq, rhine_interrupt, IRQF_SHARED, dev->name, dev)) |
2003 | printk(KERN_ERR "via-rhine %s: request_irq failed\n", dev->name); | 2003 | printk(KERN_ERR "via-rhine %s: request_irq failed\n", dev->name); |
2004 | 2004 | ||
2005 | ret = pci_set_power_state(pdev, PCI_D0); | 2005 | ret = pci_set_power_state(pdev, PCI_D0); |