net: macb: Clean 64b dma addresses if they are not detected
[linux-2.6-microblaze.git] / drivers / net / ethernet / cadence / macb_main.c
index 7fddf76..0acaef3 100644 (file)
@@ -2159,6 +2159,7 @@ static void macb_configure_dma(struct macb *bp)
                else
                        dmacfg &= ~GEM_BIT(TXCOEN);
 
+               dmacfg &= ~GEM_BIT(ADDR64);
 #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
                if (bp->hw_dma_cap & HW_DMA_CAP_64B)
                        dmacfg |= GEM_BIT(ADDR64);