Fix compiler warnings
[qemu.git] / hw / ide.h
blob56cf4ec5e997350afb761f862e8b2323c0c48fde
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 BlockDriverState *hd0, BlockDriverState *hd1);
10 /* ide-pci.c */
11 void pci_cmd646_ide_init(PCIBus *bus, BlockDriverState **hd_table,
12 int secondary_ide_enabled);
13 void pci_piix3_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
14 qemu_irq *pic);
15 void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
16 qemu_irq *pic);
18 /* ide-macio.c */
19 int pmac_ide_init (BlockDriverState **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 BlockDriverState *hd0, BlockDriverState *hd1);
27 #endif /* HW_IDE_H */