diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-12-06 22:40:58 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-12-06 22:40:58 +0000 |
commit | 9efcb6346bbde19ccb05770abc0d44c167940419 (patch) | |
tree | 8ef7ca4bcb6e7943a30636491d198e754b943797 /target/linux/adm8668 | |
parent | 2584cf2010fac9fb40154e70727354d4ee581acb (diff) | |
download | upstream-9efcb6346bbde19ccb05770abc0d44c167940419.tar.gz upstream-9efcb6346bbde19ccb05770abc0d44c167940419.tar.bz2 upstream-9efcb6346bbde19ccb05770abc0d44c167940419.zip |
[adm8668] do not reset WAN and LAN blocks
This is taken care of by the tulip driver accordingly.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34563 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm8668')
-rw-r--r-- | target/linux/adm8668/files/arch/mips/adm8668/setup.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/target/linux/adm8668/files/arch/mips/adm8668/setup.c b/target/linux/adm8668/files/arch/mips/adm8668/setup.c index 5a177f2a50..b33c483d24 100644 --- a/target/linux/adm8668/files/arch/mips/adm8668/setup.c +++ b/target/linux/adm8668/files/arch/mips/adm8668/setup.c @@ -8,20 +8,6 @@ static void adm8668_restart(char *cmd) { int i; - /* stop eth0 and eth1 */ - ADM8668_LAN_REG(NETCSR6) = (1 << 13) | (1 << 1); - ADM8668_LAN_REG(NETCSR7) = 0; - ADM8668_WAN_REG(NETCSR6) = (1 << 13) | (1 << 1); - ADM8668_WAN_REG(NETCSR7) = 0; - - /* reset PHY */ - ADM8668_WAN_REG(NETCSR37) = 0x20; - for (i = 0; i < 10000; i++) - ; - ADM8668_WAN_REG(NETCSR37) = 0; - for (i = 0; i < 10000; i++) - ; - /* the real deal */ for (i = 0; i < 1000; i++) ; |