]> git.proxmox.com Git - qemu.git/blame - hw/ide.h
MIPS: Initial support of VIA IDE controller used by fulong mini pc
[qemu.git] / hw / ide.h
CommitLineData
ec82026c
GH
1#ifndef HW_IDE_H
2#define HW_IDE_H
3
4#include "qdev.h"
5
6/* ide-isa.c */
dea21e97
GH
7int isa_ide_init(int iobase, int iobase2, int isairq,
8 DriveInfo *hd0, DriveInfo *hd1);
ec82026c 9
977e1244 10/* ide-pci.c */
f455e98c 11void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
977e1244 12 int secondary_ide_enabled);
ae027ad3
SW
13void pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
14void pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
016512f3 15void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
977e1244 16
b8842209 17/* ide-macio.c */
f455e98c 18int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
b8842209
GH
19 void *dbdma, int channel, qemu_irq dma_irq);
20
3d2bf4a1 21/* ide-mmio.c */
c227f099 22void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
3d2bf4a1 23 qemu_irq irq, int shift,
f455e98c 24 DriveInfo *hd0, DriveInfo *hd1);
3d2bf4a1 25
ec82026c 26#endif /* HW_IDE_H */