aboutsummaryrefslogtreecommitdiff
path: root/hw/eepro100.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-01-07 12:15:25 +0100
committerMichael S. Tsirkin <mst@redhat.com>2010-01-13 14:28:31 +0200
commit61702408c7b321ae57f871d4ccddb372ec0347ad (patch)
tree288c3dd229d8d70d20daa5d49f08008db32b7e46 /hw/eepro100.c
parent72ff25e4e98d6dba9286d032b9ff5432553bbad5 (diff)
downloadqemu-61702408c7b321ae57f871d4ccddb372ec0347ad.zip
qemu-61702408c7b321ae57f871d4ccddb372ec0347ad.tar.gz
qemu-61702408c7b321ae57f871d4ccddb372ec0347ad.tar.bz2
eepro100: Fix initial value for PCI_STATUS
The numerical value was wrong (0x2800 instead of 0x0280) which indeed did not make sense. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r--hw/eepro100.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c
index 82e3766..21753c7 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -415,10 +415,8 @@ static void pci_reset(EEPRO100State * s)
/* TODO: this is the default, do not override. */
PCI_CONFIG_16(PCI_COMMAND, 0x0000);
/* PCI Status */
- /* TODO: this seems to make no sense. */
/* TODO: Value at RST# should be 0. */
- PCI_CONFIG_16(PCI_STATUS,
- PCI_STATUS_REC_MASTER_ABORT | PCI_STATUS_SIG_TARGET_ABORT);
+ PCI_CONFIG_16(PCI_STATUS, PCI_STATUS_DEVSEL_MEDIUM | PCI_STATUS_FAST_BACK);
/* PCI Revision ID */
PCI_CONFIG_8(PCI_REVISION_ID, 0x08);
/* TODO: this is the default, do not override. */