aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f7e21f278e05..e866608d7d91 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net/ethernet/cadence/macb.c
@@ -1292,7 +1292,7 @@ static void macb_configure_dma(struct macb *bp)
1292static void macb_configure_caps(struct macb *bp) 1292static void macb_configure_caps(struct macb *bp)
1293{ 1293{
1294 if (macb_is_gem(bp)) { 1294 if (macb_is_gem(bp)) {
1295 if (GEM_BF(IRQCOR, gem_readl(bp, DCFG1)) == 0) 1295 if (GEM_BFEXT(IRQCOR, gem_readl(bp, DCFG1)) == 0)
1296 bp->caps |= MACB_CAPS_ISR_CLEAR_ON_WRITE; 1296 bp->caps |= MACB_CAPS_ISR_CLEAR_ON_WRITE;
1297 } 1297 }
1298} 1298}