git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: use symbolic values for ndo_start_xmit() return codes
[safe/jmp/linux-2.6]
/
drivers
/
net
/
ns83820.c
diff --git
a/drivers/net/ns83820.c
b/drivers/net/ns83820.c
index
940962a
..
1576ac0
100644
(file)
--- a/
drivers/net/ns83820.c
+++ b/
drivers/net/ns83820.c
@@
-1097,7
+1097,7
@@
again:
if (unlikely(dev->CFG_cache & CFG_LNKSTS)) {
netif_stop_queue(ndev);
if (unlikely(dev->CFG_cache & CFG_LNKSTS))
if (unlikely(dev->CFG_cache & CFG_LNKSTS)) {
netif_stop_queue(ndev);
if (unlikely(dev->CFG_cache & CFG_LNKSTS))
- return
1
;
+ return
NETDEV_TX_BUSY
;
netif_start_queue(ndev);
}
netif_start_queue(ndev);
}
@@
-1115,7
+1115,7
@@
again:
netif_start_queue(ndev);
goto again;
}
netif_start_queue(ndev);
goto again;
}
- return
1
;
+ return
NETDEV_TX_BUSY
;
}
if (free_idx == dev->tx_intr_idx) {
}
if (free_idx == dev->tx_intr_idx) {