]> git.proxmox.com Git - mirror_qemu.git/commit
rtl8139: support byte read to TxStatus registers
authorJason Wang <jasowang@redhat.com>
Mon, 5 Mar 2012 03:08:42 +0000 (11:08 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Mar 2012 23:04:50 +0000 (01:04 +0200)
commitafe0a595356192d5f79703cf6462fcc112df007c
tree3b4314b6ad6571d3fc70f56630760c57daaad180
parentb44ce451df7840a0c5dea784673529994bbe1b32
rtl8139: support byte read to TxStatus registers

Some drivers (such as win7) use byte read for TxStatus registers, so we need to
support this to let guest driver behave correctly.

For writing, only double-word access is allowed by spec.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/rtl8139.c