]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: macb: Include multi queue support for xilinx ZynqMP ethernet version
authorPunnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>
Fri, 6 Mar 2015 17:29:11 +0000 (18:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 20:47:47 +0000 (15:47 -0500)
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>
drivers/net/ethernet/cadence/macb.c

index 1fe8b946243af5187851569a13be4c5e914dade0..0436aefa49e4d28498d4b56a02175286c1c60931 100644 (file)
@@ -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 */