projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a130a41
)
IDE1 init fix
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 9 Jun 2004 21:28:36 +0000
(21:28 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 9 Jun 2004 21:28:36 +0000
(21:28 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@916
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index e72071590c6674b42e1354053846c3fc43227a5b..b05d5d9f591877720f15b30b7eac1e0a15077bbc 100644
(file)
--- a/
hw/pci.c
+++ b/
hw/pci.c
@@
-1021,6
+1021,7
@@
static void pci_bios_init_device(PCIDevice *d)
/* 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
} else {
/* IDE: we map it as in ISA mode */
pci_set_io_region_addr(d, 0, 0x1f0);