diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-20 15:22:20 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:43:33 -0500 |
commit | 977e1244e8eeb22640143a8885eb672296f93210 (patch) | |
tree | 5869c965fa71dd19d3b7252f1ea12d73f858c60c /hw/ide.h | |
parent | ec82026c97975e1e327aab76653ff7edeeb27967 (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.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 */ |