From 491e2a338fdf8310c84f6ebaed1683a871a0700e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herv=C3=A9=20Poussineau?= Date: Tue, 18 Jan 2011 22:43:56 +0100 Subject: [PATCH] prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Cc: Andreas Färber Signed-off-by: Hervé Poussineau Signed-off-by: Aurelien Jarno --- hw/ppc_prep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.11.4.GIT