From: Giuseppe CAVALLARO Date: Thu, 1 Sep 2011 21:51:35 +0000 (+0000) Subject: stmmac: remove the STBus bridge setting from the GMAC code (v3) X-Git-Tag: next-20110919~57^2~55 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2e19a3818bd6438213e312fce14af6217a5a749b;p=karo-tx-linux.git stmmac: remove the STBus bridge setting from the GMAC code (v3) 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c index 0f63b3c83c19..eea184ab6d64 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c @@ -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 */