fix vl.c compilation if CONFIG_KVM is not defined
[qemu/ar7.git] / hw / ide.h
blobe0a508bd518c07596cac85489d9e10503c1ed8cb
1 #ifndef HW_IDE_H
2 #define HW_IDE_H
4 #include "qdev.h"
6 /* ide-isa.c */
7 void isa_ide_init(int iobase, int iobase2, qemu_irq irq,
8 DriveInfo *hd0, DriveInfo *hd1);
10 /* ide-pci.c */
11 void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
12 int secondary_ide_enabled);
13 void pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
14 void pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
16 /* ide-macio.c */
17 int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
18 void *dbdma, int channel, qemu_irq dma_irq);
20 /* ide-mmio.c */
21 void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
22 qemu_irq irq, int shift,
23 DriveInfo *hd0, DriveInfo *hd1);
25 #endif /* HW_IDE_H */