lkml.org 
[lkml]   [2015]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] net: macb: Fix multi queue support for xilinx ZynqMP soc
Le 05/03/2015 14:04, Michal Simek a écrit :
> From: Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>
>
> 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>

Ok then:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
>
> drivers/net/ethernet/cadence/macb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
> index 24b1eb466e52..0493c3e6bbbe 100644
> --- a/drivers/net/ethernet/cadence/macb.c
> +++ b/drivers/net/ethernet/cadence/macb.c
> @@ -2319,7 +2319,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",
>


--
Nicolas Ferre


\
 
 \ /
  Last update: 2015-03-06 18:01    [W:1.126 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site