aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-08-16 08:51:52 -0400
committerFrancois Romieu <romieu@fr.zoreil.com>2006-08-31 15:59:19 -0400
commit188f4af04618b32b8ec7c630a3f18201c81ce70c (patch)
treea09867951537476aa8125a400528e42f85d8a23a /drivers/net/r8169.c
parentbcf0bf90cd9e9242b66e0563b6a8c8db2e4c262c (diff)
r8169: use NETDEV_TX_{BUSY/OK}
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r--drivers/net/r8169.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index d0bfe4c8950d..b07d2eadeae6 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -2277,7 +2277,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev)
2277 dma_addr_t mapping; 2277 dma_addr_t mapping;
2278 u32 status, len; 2278 u32 status, len;
2279 u32 opts1; 2279 u32 opts1;
2280 int ret = 0; 2280 int ret = NETDEV_TX_OK;
2281 2281
2282 if (unlikely(TX_BUFFS_AVAIL(tp) < skb_shinfo(skb)->nr_frags)) { 2282 if (unlikely(TX_BUFFS_AVAIL(tp) < skb_shinfo(skb)->nr_frags)) {
2283 if (netif_msg_drv(tp)) { 2283 if (netif_msg_drv(tp)) {
@@ -2342,7 +2342,7 @@ out:
2342 2342
2343err_stop: 2343err_stop:
2344 netif_stop_queue(dev); 2344 netif_stop_queue(dev);
2345 ret = 1; 2345 ret = NETDEV_TX_BUSY;
2346err_update_stats: 2346err_update_stats:
2347 tp->stats.tx_dropped++; 2347 tp->stats.tx_dropped++;
2348 goto out; 2348 goto out;