Ignore:
Timestamp:
2011-05-17T13:12:56+02:00 (5 years ago)
Author:
matteo
Message:

ar71xx: detect link on LAN ports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c

    r26855 r26922  
    4949        if (ag->phy_dev) { 
    5050                phy_start(ag->phy_dev); 
     51        } else if (pdata->has_ar7240_switch) { 
     52                ag71xx_ar7240_start(ag); 
    5153        } else { 
    52                 if (pdata->has_ar7240_switch) 
    53                         ag71xx_ar7240_start(ag); 
    5454                ag->link = 1; 
    5555                ag71xx_link_adjust(ag); 
Note: See TracChangeset for help on using the changeset viewer.