aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/cadence/macb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
index babe972a7c32..4412895cf4a8 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net/ethernet/cadence/macb.c
@@ -2139,7 +2139,7 @@ static void macb_configure_caps(struct macb *bp, const struct macb_config *dt_co
2139 if (dt_conf) 2139 if (dt_conf)
2140 bp->caps = dt_conf->caps; 2140 bp->caps = dt_conf->caps;
2141 2141
2142 if (MACB_BFEXT(IDNUM, macb_readl(bp, MID)) == 0x2) 2142 if (MACB_BFEXT(IDNUM, macb_readl(bp, MID)) >= 0x2)
2143 bp->caps |= MACB_CAPS_MACB_IS_GEM; 2143 bp->caps |= MACB_CAPS_MACB_IS_GEM;
2144 2144
2145 if (macb_is_gem(bp)) { 2145 if (macb_is_gem(bp)) {