aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-15 20:05:00 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-15 20:05:00 +0000
commitdea21e97f433093bd93b0fb55ec1e1eec3171158 (patch)
tree27ac97f2e9786e674f4a271cb5bba0e153ef0ad4 /hw/pc.c
parentfeef310217d4935e41f5ff5751f7c43e8d6403d3 (diff)
ide/isa: convert to qdev.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c3
1 files changed, 1 insertions, 2 deletions
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]);
}
}