summaryrefslogtreecommitdiffstats
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-15 19:23:30 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-15 19:23:30 +0000
commit88804180fd705d3c4f3dd50e0b9bd7b70c5db0ef (patch)
tree7e0ddd86ae5c43642c8037e494312af1529b2b0d /hw/ide/internal.h
parentc219331eb0e2de9acf60a3f2d1dc39cfa6f230fd (diff)
downloadhqemu-88804180fd705d3c4f3dd50e0b9bd7b70c5db0ef.zip
hqemu-88804180fd705d3c4f3dd50e0b9bd7b70c5db0ef.tar.gz
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 <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r--hw/ide/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index b9a7c72..62aef1c 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);
OpenPOWER on IntegriCloud