Changeset 22056 for branches/backfire


Ignore:
Timestamp:
2010-07-04T04:20:05+02:00 (6 years ago)
Author:
nbd
Message:

ar71xx: merge ethernet driver fixes from r22054, r22055

File:
1 edited

Legend:

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

    r20760 r22056  
    436436        ag71xx_wr(ag, AG71XX_REG_TX_CTRL, 0); 
    437437 
     438        /* 
     439         * give the hardware some time to really stop all rx/tx activity 
     440         * clearing the descriptors too early causes random memory corruption 
     441         */ 
     442        mdelay(1); 
     443 
    438444        /* clear descriptor addresses */ 
    439445        ag71xx_wr(ag, AG71XX_REG_TX_DESC, 0); 
     
    554560        if (ret) 
    555561                goto err; 
     562 
     563        ag71xx_hw_init(ag); 
    556564 
    557565        napi_enable(&ag->napi); 
Note: See TracChangeset for help on using the changeset viewer.