mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8a013a9c71
commit
20488239d2
|
@ -2339,7 +2339,7 @@ static int macb_probe(struct platform_device *pdev)
|
||||||
*/
|
*/
|
||||||
queue->irq = platform_get_irq(pdev, q);
|
queue->irq = platform_get_irq(pdev, q);
|
||||||
err = devm_request_irq(&pdev->dev, queue->irq, macb_interrupt,
|
err = devm_request_irq(&pdev->dev, queue->irq, macb_interrupt,
|
||||||
0, dev->name, queue);
|
IRQF_SHARED, dev->name, queue);
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err(&pdev->dev,
|
dev_err(&pdev->dev,
|
||||||
"Unable to request IRQ %d (error %d)\n",
|
"Unable to request IRQ %d (error %d)\n",
|
||||||
|
|
Loading…
Reference in New Issue