From dea21e97f433093bd93b0fb55ec1e1eec3171158 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 15 Sep 2009 20:05:00 +0000 Subject: ide/isa: convert to qdev. Signed-off-by: Gerd Hoffmann Signed-off-by: Blue Swirl --- hw/pc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index bb78f0bce7..58de372da6 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1366,8 +1366,7 @@ static void pc_init1(ram_addr_t ram_size, pci_piix3_ide_init(pci_bus, hd, piix3_devfn + 1); } else { for(i = 0; i < MAX_IDE_BUS; i++) { - isa_ide_init(ide_iobase[i], ide_iobase2[i], - isa_reserve_irq(ide_irq[i]), + isa_ide_init(ide_iobase[i], ide_iobase2[i], ide_irq[i], hd[MAX_IDE_DEVS * i], hd[MAX_IDE_DEVS * i + 1]); } } -- cgit v1.2.3