./configure: export xfs config via --{enable, disable}-xfsctl
[qemu/ar7.git] / hw / ide.h
blob0b18c9016b25f4a0747c773ed246f1f520d14c87
1 #ifndef HW_IDE_H
2 #define HW_IDE_H
4 #include "isa.h"
5 #include "pci.h"
6 #include "memory.h"
8 #define MAX_IDE_DEVS 2
10 /* ide-isa.c */
11 ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int isairq,
12 DriveInfo *hd0, DriveInfo *hd1);
14 /* ide-pci.c */
15 void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
16 int secondary_ide_enabled);
17 PCIDevice *pci_piix3_xen_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
18 PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
19 PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
20 void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
22 /* ide-macio.c */
23 MemoryRegion *pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
24 void *dbdma, int channel, qemu_irq dma_irq);
26 /* ide-mmio.c */
27 void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
28 MemoryRegion *address_space,
29 qemu_irq irq, int shift,
30 DriveInfo *hd0, DriveInfo *hd1);
32 void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
34 /* ide/core.c */
35 void ide_drive_get(DriveInfo **hd, int max_bus);
37 #endif /* HW_IDE_H */