Statistics
| Branch: | Revision:

root / hw / ide.h @ cc9577cf

History | View | Annotate | Download (857 Bytes)

1 ec82026c Gerd Hoffmann
#ifndef HW_IDE_H
2 ec82026c Gerd Hoffmann
#define HW_IDE_H
3 ec82026c Gerd Hoffmann
4 ec82026c Gerd Hoffmann
#include "qdev.h"
5 ec82026c Gerd Hoffmann
6 ec82026c Gerd Hoffmann
/* ide-isa.c */
7 dea21e97 Gerd Hoffmann
int isa_ide_init(int iobase, int iobase2, int isairq,
8 dea21e97 Gerd Hoffmann
                 DriveInfo *hd0, DriveInfo *hd1);
9 ec82026c Gerd Hoffmann
10 977e1244 Gerd Hoffmann
/* ide-pci.c */
11 f455e98c Gerd Hoffmann
void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
12 977e1244 Gerd Hoffmann
                         int secondary_ide_enabled);
13 ae027ad3 Stefan Weil
void pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
14 ae027ad3 Stefan Weil
void pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
15 016512f3 Huacai Chen
void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
16 977e1244 Gerd Hoffmann
17 b8842209 Gerd Hoffmann
/* ide-macio.c */
18 f455e98c Gerd Hoffmann
int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
19 b8842209 Gerd Hoffmann
                   void *dbdma, int channel, qemu_irq dma_irq);
20 b8842209 Gerd Hoffmann
21 3d2bf4a1 Gerd Hoffmann
/* ide-mmio.c */
22 c227f099 Anthony Liguori
void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
23 3d2bf4a1 Gerd Hoffmann
                    qemu_irq irq, int shift,
24 f455e98c Gerd Hoffmann
                    DriveInfo *hd0, DriveInfo *hd1);
25 3d2bf4a1 Gerd Hoffmann
26 ec82026c Gerd Hoffmann
#endif /* HW_IDE_H */