Changeset 22075


Ignore:
Timestamp:
2010-07-06T14:40:07+02:00 (8 years ago)
Author:
nbd
Message:

ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563

File:
1 edited

Legend:

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

    r22055 r22075  
    574574{ 
    575575        struct ag71xx *ag = netdev_priv(dev); 
     576        struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag); 
    576577        int ret; 
    577578 
     
    580581                goto err; 
    581582 
    582         ag71xx_hw_init(ag); 
     583        if (pdata->is_ar724x) 
     584                ag71xx_hw_init(ag); 
    583585 
    584586        napi_enable(&ag->napi); 
Note: See TracChangeset for help on using the changeset viewer.