diff mbox

[6/6] Enable secondary cmd64x

Message ID 1262590375-11431-7-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf Jan. 4, 2010, 7:32 a.m. UTC
We're not using any macio IDE devices, so let's enable the secondary cmd64x
IDE device, so we get all four possible IDE devices exposed to the guest.

Later we definitely need to enable macio or any other device that Linux
understands in default configurations.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 hw/ppc_newworld.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c
index 308e102..d66860b 100644
--- a/hw/ppc_newworld.c
+++ b/hw/ppc_newworld.c
@@ -343,7 +343,7 @@  static void ppc_core99_init (ram_addr_t ram_size,
         hd[i] = drive_get(IF_IDE, i / MAX_IDE_DEVS, i % MAX_IDE_DEVS);
     }
     dbdma = DBDMA_init(&dbdma_mem_index);
-    pci_cmd646_ide_init(pci_bus, hd, 0);
+    pci_cmd646_ide_init(pci_bus, hd, 1);
 
     /* cuda also initialize ADB */
     cuda_init(&cuda_mem_index, pic[0x19]);