Changeset 35532


Ignore:
Timestamp:
2013-02-09T14:26:04+01:00 (5 years ago)
Author:
juhosg
Message:

generic: ar8216: move sleep out of the loop

It is enough to sleep once after ANEG is enabled on
all PHYs. This reduces boot time on boards with
AR8316 switch.

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/ar8216.c

    r35518 r35532  
    834834                mdiobus_write(bus, i, MII_CTRL1000, ADVERTISE_1000FULL); 
    835835                mdiobus_write(bus, i, MII_BMCR, BMCR_RESET | BMCR_ANENABLE); 
    836                 msleep(1000); 
    837         } 
     836        } 
     837 
     838        msleep(1000); 
    838839 
    839840out: 
Note: See TracChangeset for help on using the changeset viewer.