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/myri10ge | |
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/myri10ge')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index dbdf189436fa..72aad42db7b4 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -2413,7 +2413,7 @@ static int myri10ge_resume(struct pci_dev *pdev) | |||
2413 | pci_enable_device(pdev); | 2413 | pci_enable_device(pdev); |
2414 | pci_set_master(pdev); | 2414 | pci_set_master(pdev); |
2415 | 2415 | ||
2416 | status = request_irq(pdev->irq, myri10ge_intr, SA_SHIRQ, | 2416 | status = request_irq(pdev->irq, myri10ge_intr, IRQF_SHARED, |
2417 | netdev->name, mgp); | 2417 | netdev->name, mgp); |
2418 | if (status != 0) { | 2418 | if (status != 0) { |
2419 | dev_err(&pdev->dev, "failed to allocate IRQ\n"); | 2419 | dev_err(&pdev->dev, "failed to allocate IRQ\n"); |
@@ -2694,7 +2694,7 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
2694 | mgp->msi_enabled = 1; | 2694 | mgp->msi_enabled = 1; |
2695 | } | 2695 | } |
2696 | 2696 | ||
2697 | status = request_irq(pdev->irq, myri10ge_intr, SA_SHIRQ, | 2697 | status = request_irq(pdev->irq, myri10ge_intr, IRQF_SHARED, |
2698 | netdev->name, mgp); | 2698 | netdev->name, mgp); |
2699 | if (status != 0) { | 2699 | if (status != 0) { |
2700 | dev_err(&pdev->dev, "failed to allocate IRQ\n"); | 2700 | dev_err(&pdev->dev, "failed to allocate IRQ\n"); |