Changeset 34563


Ignore:
Timestamp:
2012-12-06T23:40:58+01:00 (5 years ago)
Author:
florian
Message:

[adm8668] do not reset WAN and LAN blocks

This is taken care of by the tulip driver accordingly.

Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm8668/files/arch/mips/adm8668/setup.c

    r34551 r34563  
    88{ 
    99        int i; 
    10  
    11         /* stop eth0 and eth1 */ 
    12         ADM8668_LAN_REG(NETCSR6) = (1 << 13) | (1 << 1); 
    13         ADM8668_LAN_REG(NETCSR7) = 0; 
    14         ADM8668_WAN_REG(NETCSR6) = (1 << 13) | (1 << 1); 
    15         ADM8668_WAN_REG(NETCSR7) = 0; 
    16  
    17         /* reset PHY */ 
    18         ADM8668_WAN_REG(NETCSR37) = 0x20; 
    19         for (i = 0; i < 10000; i++) 
    20                 ; 
    21         ADM8668_WAN_REG(NETCSR37) = 0; 
    22         for (i = 0; i < 10000; i++) 
    23                 ; 
    2410 
    2511        /* the real deal */ 
Note: See TracChangeset for help on using the changeset viewer.