/[orinoco]/orinoco/orinoco.c
ViewVC logotype

Diff of /orinoco/orinoco.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.24.2.7 by dgibson, Mon Sep 29 04:49:12 2003 UTC revision 1.1.1.24.2.8 by dgibson, Mon Sep 29 07:46:19 2003 UTC
# Line 1878  static void __orinoco_ev_tx(struct net_d Line 1878  static void __orinoco_ev_tx(struct net_d
1878  {  {
1879          struct orinoco_private *priv = dev->priv;          struct orinoco_private *priv = dev->priv;
1880          struct net_device_stats *stats = &priv->stats;          struct net_device_stats *stats = &priv->stats;
         u16 fid = hermes_read_regn(hw, TXCOMPLFID);  
1881    
1882          stats->tx_packets++;          stats->tx_packets++;
1883    
         if (fid != priv->txfid) {  
                 if (fid != DUMMY_FID)  
                         printk(KERN_WARNING "%s: Tx event on unexpected fid (%04X)\n",  
                                dev->name, fid);  
                 return;  
         }  
   
1884          netif_wake_queue(dev);          netif_wake_queue(dev);
1885    
1886          hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID);          hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID);

Legend:
Removed from v.1.1.1.24.2.7  
changed lines
  Added in v.1.1.1.24.2.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26