diff options
author | Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com> | 2015-03-06 18:29:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-06 15:47:48 -0500 |
commit | 20488239d236f1615e2be8b0f6dbd30e4310940a (patch) | |
tree | 89e3f53d78808359802d0f917f806c2ac84e680d /drivers/net/ethernet/cadence | |
parent | 8a013a9c71b21a9860f44dec7600c8fe77995a77 (diff) | |
download | blackbird-op-linux-20488239d236f1615e2be8b0f6dbd30e4310940a.tar.gz blackbird-op-linux-20488239d236f1615e2be8b0f6dbd30e4310940a.zip |
net: macb: Fix multi queue support for xilinx ZynqMP
ZynqMP soc has single interrupt for all the queue events. So,
passing the IRQF_SHARED flag for interrupt registration call.
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 0436aefa49e4..f6c8935a4f0b 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c @@ -2339,7 +2339,7 @@ static int macb_probe(struct platform_device *pdev) */ queue->irq = platform_get_irq(pdev, q); err = devm_request_irq(&pdev->dev, queue->irq, macb_interrupt, - 0, dev->name, queue); + IRQF_SHARED, dev->name, queue); if (err) { dev_err(&pdev->dev, "Unable to request IRQ %d (error %d)\n", |