diff options
author | Jason Wang <jasowang@redhat.com> | 2015-11-09 14:45:17 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-04-06 09:52:07 +0800 |
commit | 91731d5f6d85ca33e7c151e8feac3d5cfafec4d4 (patch) | |
tree | c88bd65bbd389042a3b53f9e2dec23240b51504e /hw/net/rtl8139.c | |
parent | 044d65525f6ac2093042ae18dbf8c1300b5c1c18 (diff) | |
download | qemu-91731d5f6d85ca33e7c151e8feac3d5cfafec4d4.zip qemu-91731d5f6d85ca33e7c151e8feac3d5cfafec4d4.tar.gz qemu-91731d5f6d85ca33e7c151e8feac3d5cfafec4d4.tar.bz2 |
rtl8139: using CP_TX_OWN for ownership transferring during tx
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>
Diffstat (limited to 'hw/net/rtl8139.c')
-rw-r--r-- | hw/net/rtl8139.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c index fee97bf..1e5ec14 100644 --- 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_RX_OWN; + txdw0 &= ~CP_TX_OWN; /* reset error indicator bits */ txdw0 &= ~CP_TX_STATUS_UNF; |