net: macb: Fix multi queue support for xilinx ZynqMP
authorPunnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>
Fri, 6 Mar 2015 17:29:12 +0000 (18:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 20:47:48 +0000 (15:47 -0500)
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>
drivers/net/ethernet/cadence/macb.c

index 0436aefa49e4d28498d4b56a02175286c1c60931..f6c8935a4f0b1df80450ce178f6e2dc631400533 100644 (file)
@@ -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",