net: macb: Include multi queue support for xilinx ZynqMP ethernet version

Include multi queue support for the ethernet IP version in xilinx ZynqMP
SoC.

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:
Punnaiah Choudary Kalluri 2015-03-06 18:29:11 +01:00 committed by David S. Miller
parent 28c0f02ffe
commit 8a013a9c71

View File

@ -2211,7 +2211,7 @@ static void macb_probe_queues(void __iomem *mem,
/* is it macb or gem ? */ /* is it macb or gem ? */
mid = readl_relaxed(mem + MACB_MID); mid = readl_relaxed(mem + MACB_MID);
if (MACB_BFEXT(IDNUM, mid) != 0x2) if (MACB_BFEXT(IDNUM, mid) < 0x2)
return; return;
/* bit 0 is never set but queue 0 always exists */ /* bit 0 is never set but queue 0 always exists */