Changeset 33079


Ignore:
Timestamp:
2012-08-10T09:04:21+02:00 (5 years ago)
Author:
florian
Message:

[mcs814x] nuport-mac: delay call to napi_start() until fully able to process RX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c

    r33071 r33079  
    787787        phy_start(priv->phydev); 
    788788 
    789         napi_enable(&priv->napi); 
    790  
    791789        ret = request_irq(priv->rx_irq, &nuport_mac_rx_interrupt, 
    792790                                0, dev->name, dev); 
     
    813811        ret = nuport_mac_start_rx_dma(priv, priv->rx_skb[0]); 
    814812        spin_unlock_irqrestore(&priv->lock, flags); 
     813 
     814        napi_enable(&priv->napi); 
    815815 
    816816        return ret; 
Note: See TracChangeset for help on using the changeset viewer.