[PATCH 1/2] net: macb: Include multi queue support for xilinx ZynqMP ethernet version

From: Michal Simek
Date: Thu Mar 05 2015 - 08:04:23 EST


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 */
--
1.8.2.3

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