cmd646: remove unused pci_cmd646_ide_init() function
[qemu/ar7.git] / include / hw / ide.h
blob0c7080ed927395760a985aa0cb48f5a7d256342b
1 #ifndef HW_IDE_H
2 #define HW_IDE_H
4 #include "hw/isa/isa.h"
5 #include "hw/pci/pci.h"
6 #include "exec/memory.h"
8 #define MAX_IDE_DEVS 2
10 /* ide-isa.c */
11 ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int isairq,
12 DriveInfo *hd0, DriveInfo *hd1);
14 /* ide-pci.c */
15 PCIDevice *pci_piix3_xen_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
16 PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
17 PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
18 int pci_piix3_xen_ide_unplug(DeviceState *dev, bool aux);
19 void via_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
21 /* ide-mmio.c */
22 void mmio_ide_init_drives(DeviceState *dev, DriveInfo *hd0, DriveInfo *hd1);
24 int ide_get_geometry(BusState *bus, int unit,
25 int16_t *cyls, int8_t *heads, int8_t *secs);
26 int ide_get_bios_chs_trans(BusState *bus, int unit);
28 /* ide/core.c */
29 void ide_drive_get(DriveInfo **hd, int max_bus);
31 #endif /* HW_IDE_H */