aboutsummaryrefslogtreecommitdiff
path: root/hw/ide.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-08-20 15:22:20 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:43:33 -0500
commit977e1244e8eeb22640143a8885eb672296f93210 (patch)
tree5869c965fa71dd19d3b7252f1ea12d73f858c60c /hw/ide.h
parentec82026c97975e1e327aab76653ff7edeeb27967 (diff)
ide: split away ide-pci.c
create ide-pci.c and place pci bus support there. only build ide-pci support for platforms using it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Fix build (merge with isa mmio split)
Diffstat (limited to 'hw/ide.h')
-rw-r--r--hw/ide.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/ide.h b/hw/ide.h
index 73ef93e419..faa04a3eb4 100644
--- a/hw/ide.h
+++ b/hw/ide.h
@@ -7,4 +7,12 @@
void isa_ide_init(int iobase, int iobase2, qemu_irq irq,
BlockDriverState *hd0, BlockDriverState *hd1);
+/* ide-pci.c */
+void pci_cmd646_ide_init(PCIBus *bus, BlockDriverState **hd_table,
+ int secondary_ide_enabled);
+void pci_piix3_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
+ qemu_irq *pic);
+void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
+ qemu_irq *pic);
+
#endif /* HW_IDE_H */