]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/au1000_eth.c
netdev: convert bulk of drivers to netdev_tx_t
[net-next-2.6.git] / drivers / net / au1000_eth.c
index d3c734f4d679956e3fb16d88473ebeee35568606..407fd45f56a162254fb22451ba49aff90d498408 100644 (file)
@@ -937,7 +937,7 @@ static int au1000_close(struct net_device *dev)
 /*
  * Au1000 transmit routine.
  */
-static int au1000_tx(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t au1000_tx(struct sk_buff *skb, struct net_device *dev)
 {
        struct au1000_private *aup = netdev_priv(dev);
        struct net_device_stats *ps = &dev->stats;
@@ -988,7 +988,7 @@ static int au1000_tx(struct sk_buff *skb, struct net_device *dev)
        dev_kfree_skb(skb);
        aup->tx_head = (aup->tx_head + 1) & (NUM_TX_DMA - 1);
        dev->trans_start = jiffies;
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 /*