Commit d187d4b2187a485c6b5819cbb6f5dbef95e2e331

Authored by bellard
1 parent 98087450

configure BMDMA


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@972 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/pci.c
... ... @@ -1402,9 +1402,9 @@ static void pci_bios_init_device(PCIDevice *d)
1402 1402 case 0x0101:
1403 1403 if (vendor_id == 0x8086 && device_id == 0x7010) {
1404 1404 /* PIIX3 IDE */
1405   - pci_config_writew(d, PCI_COMMAND, PCI_COMMAND_IO);
1406 1405 pci_config_writew(d, 0x40, 0x8000); // enable IDE0
1407 1406 pci_config_writew(d, 0x42, 0x8000); // enable IDE1
  1407 + goto default_map;
1408 1408 } else {
1409 1409 /* IDE: we map it as in ISA mode */
1410 1410 pci_set_io_region_addr(d, 0, 0x1f0);
... ...