diff options
Diffstat (limited to 'drivers/net/yellowfin.c')
-rw-r--r-- | drivers/net/yellowfin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index 3c7a5053f1da..c3722b40a651 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c | |||
@@ -827,7 +827,7 @@ static int yellowfin_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
827 | if (skb_padto(skb, len)) { | 827 | if (skb_padto(skb, len)) { |
828 | yp->tx_skbuff[entry] = NULL; | 828 | yp->tx_skbuff[entry] = NULL; |
829 | netif_wake_queue(dev); | 829 | netif_wake_queue(dev); |
830 | return 0; | 830 | return NETDEV_TX_OK; |
831 | } | 831 | } |
832 | } | 832 | } |
833 | } | 833 | } |
@@ -881,7 +881,7 @@ static int yellowfin_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
881 | printk(KERN_DEBUG "%s: Yellowfin transmit frame #%d queued in slot %d.\n", | 881 | printk(KERN_DEBUG "%s: Yellowfin transmit frame #%d queued in slot %d.\n", |
882 | dev->name, yp->cur_tx, entry); | 882 | dev->name, yp->cur_tx, entry); |
883 | } | 883 | } |
884 | return 0; | 884 | return NETDEV_TX_OK; |
885 | } | 885 | } |
886 | 886 | ||
887 | /* The interrupt handler does all of the Rx thread work and cleans up | 887 | /* The interrupt handler does all of the Rx thread work and cleans up |