]> git.proxmox.com Git - qemu.git/blame - hw/ide.h
mips_fulong: remove bogus HAS_AUDIO
[qemu.git] / hw / ide.h
CommitLineData
ec82026c
GH
1#ifndef HW_IDE_H
2#define HW_IDE_H
3
57c88866
MA
4#include "isa.h"
5#include "pci.h"
ec82026c
GH
6
7/* ide-isa.c */
57c88866
MA
8ISADevice *isa_ide_init(int iobase, int iobase2, int isairq,
9 DriveInfo *hd0, DriveInfo *hd1);
ec82026c 10
977e1244 11/* ide-pci.c */
f455e98c 12void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
977e1244 13 int secondary_ide_enabled);
57c88866
MA
14PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
15PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
016512f3 16void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
977e1244 17
b8842209 18/* ide-macio.c */
f455e98c 19int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
b8842209
GH
20 void *dbdma, int channel, qemu_irq dma_irq);
21
3d2bf4a1 22/* ide-mmio.c */
c227f099 23void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
3d2bf4a1 24 qemu_irq irq, int shift,
f455e98c 25 DriveInfo *hd0, DriveInfo *hd1);
3d2bf4a1 26
c0897e0c
MA
27void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
28
ec82026c 29#endif /* HW_IDE_H */