projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcf0bf9
)
r8169: use NETDEV_TX_{BUSY/OK}
author
Francois Romieu
<romieu@fr.zoreil.com>
Wed, 16 Aug 2006 12:51:52 +0000
(14:51 +0200)
committer
Francois Romieu
<romieu@fr.zoreil.com>
Thu, 31 Aug 2006 19:59:19 +0000
(21:59 +0200)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/r8169.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/r8169.c
b/drivers/net/r8169.c
index d0bfe4c8950d2031ea1764680902be249d8baa3c..b07d2eadeae60b27fd88bdeabeb863720eefdab6 100644
(file)
--- 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)
dma_addr_t mapping;
u32 status, len;
u32 opts1;
- int ret =
0
;
+ int ret =
NETDEV_TX_OK
;
if (unlikely(TX_BUFFS_AVAIL(tp) < skb_shinfo(skb)->nr_frags)) {
if (netif_msg_drv(tp)) {
@@
-2342,7
+2342,7
@@
out:
err_stop:
netif_stop_queue(dev);
- ret =
1
;
+ ret =
NETDEV_TX_BUSY
;
err_update_stats:
tp->stats.tx_dropped++;
goto out;