From: Punnaiah Choudary Kalluri <[email protected]>

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

Signed-off-by: Punnaiah Choudary Kalluri <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
---

Changes in v2:
- Rebase on net-next
- Add Nilocas ACK

 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 1fe8b946243a..0436aefa49e4 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net/ethernet/cadence/macb.c
@@ -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 */
-- 
1.8.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to