aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-25 14:55:10 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-25 14:55:10 +0000
commitd187d4b2187a485c6b5819cbb6f5dbef95e2e331 (patch)
treeb6066dbc8538c579f046ba12e82f08ff58c96dc4 /hw/pci.c
parent98087450722d974b814e19a056ea82699440c0a7 (diff)
configure BMDMA
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@972 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pci.c')
-rw-r--r--hw/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci.c b/hw/pci.c
index 919b9028fa..a6f452f423 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -1402,9 +1402,9 @@ static void pci_bios_init_device(PCIDevice *d)
case 0x0101:
if (vendor_id == 0x8086 && device_id == 0x7010) {
/* PIIX3 IDE */
- pci_config_writew(d, PCI_COMMAND, PCI_COMMAND_IO);
pci_config_writew(d, 0x40, 0x8000); // enable IDE0
pci_config_writew(d, 0x42, 0x8000); // enable IDE1
+ goto default_map;
} else {
/* IDE: we map it as in ISA mode */
pci_set_io_region_addr(d, 0, 0x1f0);