]> git.proxmox.com Git - qemu.git/commit
Revert "rtl8139: do the network/host communication only in normal operating mode"
authorJason Wang <jasowang@redhat.com>
Thu, 10 May 2012 08:37:22 +0000 (16:37 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 4 Jun 2012 04:58:36 +0000 (12:58 +0800)
commit9c92bf7f6c3f675e60b8ba8a5287bb88ea1eac36
treeeab09e84f84f06b3b9c8653140875609ffeb6bd5
parent74f4d2279b12a970d499558e4c38421724777827
Revert "rtl8139: do the network/host communication only in normal operating mode"

This reverts commit ff71f2e8cacefae99179993204172bc65e4303df. This is because
the linux 8139cp driver would leave the card in "Config Register Write Enable"
mode after the eeprom were read or write ( which is unexpected in the spec
). Also a physical 8139 card can still DMA into host memory in modes other than
Normal mode, so we need revert this commit to align with the behavior of
physical card.

The issue of 8139cp driver should be fixed in linux seperately.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/rtl8139.c