stmmac: remove the STBus bridge setting from the GMAC code (v3)
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Thu, 1 Sep 2011 21:51:35 +0000 (21:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:40:00 +0000 (15:40 -0400)
This patch removes a piece of code (actually commented)
only useful for some ST platforms in the past.

This kind of setting now can be done by using the platform
callbacks provided in linux/stmmac.h (see the stmmac.txt for
further details).

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c

index 0f63b3c..eea184a 100644 (file)
@@ -37,9 +37,6 @@ static void dwmac1000_core_init(void __iomem *ioaddr)
        value |= GMAC_CORE_INIT;
        writel(value, ioaddr + GMAC_CONTROL);
 
-       /* STBus Bridge Configuration */
-       /*writel(0xc5608, ioaddr + 0x00007000);*/
-
        /* Freeze MMC counters */
        writel(0x8, ioaddr + GMAC_MMC_CTRL);
        /* Mask GMAC interrupts */