diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2011-01-18 22:43:56 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-29 16:02:39 +0100 |
commit | 491e2a338fdf8310c84f6ebaed1683a871a0700e (patch) | |
tree | 09bcd0956239a36e483cd20785b29bef44d82f7a /hw/ppc_prep.c | |
parent | 74145374bfc0b7b02415184606236f0390479deb (diff) | |
download | qemu-491e2a338fdf8310c84f6ebaed1683a871a0700e.tar.gz qemu-491e2a338fdf8310c84f6ebaed1683a871a0700e.tar.bz2 qemu-491e2a338fdf8310c84f6ebaed1683a871a0700e.zip |
prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels
Cc: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 6b221221c2..6c1499a780 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 < MAX_IDE_BUS; i++) { + for(i = 0; i < 1/*MAX_IDE_BUS*/; i++) { isa_ide_init(ide_iobase[i], ide_iobase2[i], ide_irq[i], hd[2 * i], hd[2 * i + 1]); |