diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-01-07 00:07:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-08 02:06:07 +0100 |
commit | ca5f12c1a82cf72ce73617dfc8ef56faf6fec30a (patch) | |
tree | 6a449b00f64e78b5b04bf2eaebc93759b0bc0f9d /drivers/net/stmmac/gmac.c | |
parent | stmmac: rewiew platform data (diff) | |
download | linux-ca5f12c1a82cf72ce73617dfc8ef56faf6fec30a.tar.xz linux-ca5f12c1a82cf72ce73617dfc8ef56faf6fec30a.zip |
stmmac: perform hw bus configuration
On some platforms it can be required a different
configuration of the bus. This can be done
by invoking the bus_setup. It is defined
for all the platforms that needs this kind of
configuration.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/gmac.c')
-rw-r--r-- | drivers/net/stmmac/gmac.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/stmmac/gmac.c b/drivers/net/stmmac/gmac.c index 982875646725..c1278876ef25 100644 --- a/drivers/net/stmmac/gmac.c +++ b/drivers/net/stmmac/gmac.c @@ -400,9 +400,6 @@ static void gmac_core_init(unsigned long 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 */ |