diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-20 15:22:19 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:43:33 -0500 |
commit | ec82026c97975e1e327aab76653ff7edeeb27967 (patch) | |
tree | 7909faa1a5e5bd503dc44e25ca30f835a5d8e721 /hw/ide.c | |
parent | 356721aede69c80141c4a94ec26a78f91d63c9a5 (diff) |
ide: split away ide-isa.c
create ide-isa.c and place isa bus support there.
only build ide-isa support for platforms using it.
also create ide.h header file.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide.c')
-rw-r--r-- | hw/ide.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -2673,20 +2673,6 @@ void idebus_load(QEMUFile* f, IDEBus *bus, int version_id) } /***********************************************************/ -/* ISA IDE definitions */ - -void isa_ide_init(int iobase, int iobase2, qemu_irq irq, - BlockDriverState *hd0, BlockDriverState *hd1) -{ - IDEBus *bus; - - bus = qemu_mallocz(sizeof(*bus)); - - ide_init2(bus, hd0, hd1, irq); - ide_init_ioport(bus, iobase, iobase2); -} - -/***********************************************************/ /* PCI IDE definitions */ static void cmd646_update_irq(PCIIDEState *d); |