From 88804180fd705d3c4f3dd50e0b9bd7b70c5db0ef Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 15 Sep 2009 19:23:30 +0000 Subject: split away drive init from ide_init2() This allows the ide bus being initialized without drives attached and the drives being attached and initialization later on as separate step. Signed-off-by: Gerd Hoffmann Signed-off-by: Blue Swirl --- hw/ide/internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/ide/internal.h') diff --git a/hw/ide/internal.h b/hw/ide/internal.h index b9a7c721a6..62aef1c3b0 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -527,6 +527,7 @@ uint32_t ide_data_readw(void *opaque, uint32_t addr); void ide_data_writel(void *opaque, uint32_t addr, uint32_t val); uint32_t ide_data_readl(void *opaque, uint32_t addr); +void ide_init_drive(IDEState *s, DriveInfo *dinfo); void ide_init2(IDEBus *bus, DriveInfo *hd0, DriveInfo *hd1, qemu_irq irq); void ide_init_ioport(IDEBus *bus, int iobase, int iobase2); -- cgit v1.2.3