mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 10:34:55 +08:00
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:
parent
28c0f02ffe
commit
8a013a9c71
@ -2211,7 +2211,7 @@ static void macb_probe_queues(void __iomem *mem,
|
||||
/* is it macb or gem ? */
|
||||
mid = readl_relaxed(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 */
|
||||
|
Loading…
Reference in New Issue
Block a user