]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Revert "prep: Disable second IDE channel, as long as ISA IDE emulation doesn't suppor...
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 21 Feb 2011 14:53:05 +0000 (15:53 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 3 Mar 2011 23:00:24 +0000 (00:00 +0100)
This reverts commit 491e2a338fdf8310c84f6ebaed1683a871a0700e.
(cherry picked from commit 81aa06471a5c0ae45537b15f5b44e3f82488cdf5)

hw/ppc_prep.c

index 6c1499a7807b100d1af46f8506cae098e5b3955f..6b221221c273234882e3d6d23816377eef78e170 100644 (file)
@@ -690,7 +690,7 @@ static void ppc_prep_init (ram_addr_t ram_size,
         hd[i] = drive_get(IF_IDE, i / MAX_IDE_DEVS, i % MAX_IDE_DEVS);
     }
 
-    for(i = 0; i < 1/*MAX_IDE_BUS*/; i++) {
+    for(i = 0; i < MAX_IDE_BUS; i++) {
         isa_ide_init(ide_iobase[i], ide_iobase2[i], ide_irq[i],
                      hd[2 * i],
                     hd[2 * i + 1]);