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)
commit05ce59fe0d8f0185158eff350f5af9f10e7d7fb3
tree758202b3c6144dfae77ebc6b56fc545643cbb54a
parenta6f46b696b7a789b0154f63fd03feb6738da525e
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