Changeset 22076


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

[backfire] ar71xx: backport ethernet regression fix from r22075

File:
1 edited

Legend:

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

    r22056 r22076  
    555555{ 
    556556        struct ag71xx *ag = netdev_priv(dev); 
     557        struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag); 
    557558        int ret; 
    558559 
     
    561562                goto err; 
    562563 
    563         ag71xx_hw_init(ag); 
     564        if (pdata->is_ar724x) 
     565                ag71xx_hw_init(ag); 
    564566 
    565567        napi_enable(&ag->napi); 
Note: See TracChangeset for help on using the changeset viewer.