diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-15 20:05:00 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-15 20:05:00 +0000 |
commit | dea21e97f433093bd93b0fb55ec1e1eec3171158 (patch) | |
tree | 27ac97f2e9786e674f4a271cb5bba0e153ef0ad4 /hw/pc.c | |
parent | feef310217d4935e41f5ff5751f7c43e8d6403d3 (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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]); } } |