projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044d655
)
rtl8139: using CP_TX_OWN for ownership transferring during tx
author
Jason Wang
<jasowang@redhat.com>
Mon, 9 Nov 2015 06:45:17 +0000
(14:45 +0800)
committer
Jason Wang
<jasowang@redhat.com>
Wed, 6 Apr 2016 01:52:07 +0000
(09:52 +0800)
Through CP_TX_OWN and CP_RX_OWN points to the same bit, we'd better use
CP_TX_OWN for tx descriptor handling.
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/rtl8139.c
patch
|
blob
|
history
diff --git
a/hw/net/rtl8139.c
b/hw/net/rtl8139.c
index fee97bf60789c57dc2a25ddcac26dd8324ae4efc..1e5ec149fa2c32be9f5004cbcee74d87a901cd43 100644
(file)
--- a/
hw/net/rtl8139.c
+++ b/
hw/net/rtl8139.c
@@
-2046,7
+2046,7
@@
static int rtl8139_cplus_transmit_one(RTL8139State *s)
}
/* transfer ownership to target */
- txdw0 &= ~CP_
R
X_OWN;
+ txdw0 &= ~CP_
T
X_OWN;
/* reset error indicator bits */
txdw0 &= ~CP_TX_STATUS_UNF;