summaryrefslogtreecommitdiffstats
path: root/hw/ppc_prep.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-02-21 15:53:05 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-02-21 15:53:05 +0100
commit81aa06471a5c0ae45537b15f5b44e3f82488cdf5 (patch)
tree2b8e8009018d2ff04a70d8bed18416ce886ed998 /hw/ppc_prep.c
parentee951a37d8873bff7aa58e23222dfd984111b6cb (diff)
downloadhqemu-81aa06471a5c0ae45537b15f5b44e3f82488cdf5.zip
hqemu-81aa06471a5c0ae45537b15f5b44e3f82488cdf5.tar.gz
Revert "prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels"
This reverts commit 491e2a338fdf8310c84f6ebaed1683a871a0700e.
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r--hw/ppc_prep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 6c9826b..d86a283 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -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]);
OpenPOWER on IntegriCloud