aboutsummaryrefslogtreecommitdiff
path: root/hw/ide.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-08-20 15:22:19 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:43:33 -0500
commitec82026c97975e1e327aab76653ff7edeeb27967 (patch)
tree7909faa1a5e5bd503dc44e25ca30f835a5d8e721 /hw/ide.c
parent356721aede69c80141c4a94ec26a78f91d63c9a5 (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.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 654d78bd7d..ab3248ea3e 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -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);