]> git.proxmox.com Git - qemu.git/commit
eepro100: Don't allow writing SCBStatus
authorStefan Weil <weil@mail.berlios.de>
Tue, 6 Apr 2010 11:44:01 +0000 (13:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Apr 2010 12:22:46 +0000 (15:22 +0300)
commite74818f3cd439e29aa18935631663e9abb84a302
tree758202b3c6144dfae77ebc6b56fc545643cbb54a
parentf7e2aca83419dde3c94fa1d5e615581bb4ded9c0
eepro100: Don't allow writing SCBStatus

SCBStatus is readonly, but most drivers which were derived
from the old Linux eepro100.c do a word write to this address
when they want to acknowledge interrupts.

So we have to mask these writes here.

The patch also removes old unused code for status read / write.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/eepro100.c