diff options
Diffstat (limited to 'target/linux/adm8668/files/arch/mips')
-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 5a177f2a5..b33c483d2 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++) ; |