x3130/downstream: support aer.
[qemu.git] / hw / ide.h
blob2b5ae7c39e6e9a2147b86c787f8488a705136776
1 #ifndef HW_IDE_H
2 #define HW_IDE_H
4 #include "isa.h"
5 #include "pci.h"
7 /* ide-isa.c */
8 ISADevice *isa_ide_init(int iobase, int iobase2, int isairq,
9 DriveInfo *hd0, DriveInfo *hd1);
11 /* ide-pci.c */
12 void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
13 int secondary_ide_enabled);
14 PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
15 PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
16 void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
18 /* ide-macio.c */
19 int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
20 void *dbdma, int channel, qemu_irq dma_irq);
22 /* ide-mmio.c */
23 void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
24 qemu_irq irq, int shift,
25 DriveInfo *hd0, DriveInfo *hd1);
27 void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
29 #endif /* HW_IDE_H */