Commit 92510b8cf5a18e1671633fddb53599fb02936302
1 parent
6cc721cf
ide PCI ident fix, aka FreeBSD/amd64 bug fix (Jung-uk Kim)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1538 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
hw/ide.c
... | ... | @@ -2330,6 +2330,7 @@ void pci_piix3_ide_init(PCIBus *bus, BlockDriverState **hd_table) |
2330 | 2330 | pci_conf[0x01] = 0x80; |
2331 | 2331 | pci_conf[0x02] = 0x10; |
2332 | 2332 | pci_conf[0x03] = 0x70; |
2333 | + pci_conf[0x09] = 0x80; // legacy ATA mode | |
2333 | 2334 | pci_conf[0x0a] = 0x01; // class_sub = PCI_IDE |
2334 | 2335 | pci_conf[0x0b] = 0x01; // class_base = PCI_mass_storage |
2335 | 2336 | pci_conf[0x0e] = 0x00; // header_type | ... | ... |