hw/ide: Remove now unneded #include "hw/pci/pci.h" from hw/ide.h
[qemu/ar7.git] / include / hw / ide.h
blobd52c211f32dac06225dfd8ee44689f2447c50793
1 #ifndef HW_IDE_H
2 #define HW_IDE_H
4 #include "hw/isa/isa.h"
5 #include "exec/memory.h"
7 #define MAX_IDE_DEVS 2
9 /* ide-isa.c */
10 ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int isairq,
11 DriveInfo *hd0, DriveInfo *hd1);
13 /* ide-pci.c */
14 int pci_piix3_xen_ide_unplug(DeviceState *dev, bool aux);
16 /* ide-mmio.c */
17 void mmio_ide_init_drives(DeviceState *dev, DriveInfo *hd0, DriveInfo *hd1);
19 int ide_get_geometry(BusState *bus, int unit,
20 int16_t *cyls, int8_t *heads, int8_t *secs);
21 int ide_get_bios_chs_trans(BusState *bus, int unit);
23 /* ide/core.c */
24 void ide_drive_get(DriveInfo **hd, int max_bus);
26 #endif /* HW_IDE_H */