aboutsummaryrefslogtreecommitdiff
path: root/hw/ide.h
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.h
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.h')
-rw-r--r--hw/ide.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/ide.h b/hw/ide.h
new file mode 100644
index 0000000000..73ef93e419
--- /dev/null
+++ b/hw/ide.h
@@ -0,0 +1,10 @@
+#ifndef HW_IDE_H
+#define HW_IDE_H
+
+#include "qdev.h"
+
+/* ide-isa.c */
+void isa_ide_init(int iobase, int iobase2, qemu_irq irq,
+ BlockDriverState *hd0, BlockDriverState *hd1);
+
+#endif /* HW_IDE_H */