diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-06-01 20:32:29 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-06-04 11:43:39 +0200 |
commit | 57234ee40d314f91cf5bd16a926f30a6985e06e2 (patch) | |
tree | 89271b523f0196d0fbdf41d4b75307c30122f8ee /hw/ide/internal.h | |
parent | 870111c8ed95df62a101eae0acd08c84233a6341 (diff) | |
download | hqemu-57234ee40d314f91cf5bd16a926f30a6985e06e2.zip hqemu-57234ee40d314f91cf5bd16a926f30a6985e06e2.tar.gz |
ide: Split non-qdev code off ide_init2()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r-- | hw/ide/internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index cf71019..6b0024d 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -555,8 +555,9 @@ 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, const char *version); -void ide_init2(IDEBus *bus, DriveInfo *hd0, DriveInfo *hd1, - qemu_irq irq); +void ide_init2(IDEBus *bus, qemu_irq irq); +void ide_init2_with_non_qdev_drives(IDEBus *bus, DriveInfo *hd0, + DriveInfo *hd1, qemu_irq irq); void ide_init_ioport(IDEBus *bus, int iobase, int iobase2); /* hw/ide/qdev.c */ |