Re: [PATCH 1/2] net: macb: Include multi queue support for xilinx ZynqMP ethernet version
From: Michal Simek
Date: Thu Mar 05 2015 - 09:00:27 EST
Hi Nicolas,
On 03/05/2015 02:04 PM, Michal Simek wrote:
> From: Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xxxxxxxxxx>
>
> Include multi queue support for the ethernet IP version in xilinx ZynqMP
> SoC.
>
> Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xxxxxxxxxx>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
> ---
>
> 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 ad76b8e35a00..24b1eb466e52 100644
> --- a/drivers/net/ethernet/cadence/macb.c
> +++ b/drivers/net/ethernet/cadence/macb.c
> @@ -2192,7 +2192,7 @@ static void macb_probe_queues(void __iomem *mem,
>
> /* is it macb or gem ? */
> mid = __raw_readl(mem + MACB_MID);
> - if (MACB_BFEXT(IDNUM, mid) != 0x2)
> + if (MACB_BFEXT(IDNUM, mid) < 0x2)
> return;
>
> /* bit 0 is never set but queue 0 always exists */
>
Can you please check this?
(There will be definitely v2 because I forget to base it on net-next).
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
Attachment:
signature.asc
Description: OpenPGP digital signature