summaryrefslogtreecommitdiff
path: root/hw/ide.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-08-20 15:22:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:43:33 -0500
commitb884220990ef19d55fc07cebea910d1745b203d3 (patch)
tree30cade637c4630c4462a4edcd7fddcef388f70d8 /hw/ide.h
parent977e1244e8eeb22640143a8885eb672296f93210 (diff)
downloadqemu-b884220990ef19d55fc07cebea910d1745b203d3.tar.gz
ide: split away ide-macio.c
create ide-macio.c and place macio support there. only build ide-macio support for platforms using it. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/ide.h b/hw/ide.h
index faa04a3eb4..02aa68631e 100644
--- a/hw/ide.h
+++ b/hw/ide.h
@@ -15,4 +15,8 @@ void pci_piix3_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
qemu_irq *pic);
+/* ide-macio.c */
+int pmac_ide_init (BlockDriverState **hd_table, qemu_irq irq,
+ void *dbdma, int channel, qemu_irq dma_irq);
+
#endif /* HW_IDE_H */