Statistics
| Branch: | Revision:

root / hw / ide.h @ 6d0ee850

History | View | Annotate | Download (786 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 977e1244 Gerd Hoffmann
16 b8842209 Gerd Hoffmann
/* ide-macio.c */
17 f455e98c Gerd Hoffmann
int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
18 b8842209 Gerd Hoffmann
                   void *dbdma, int channel, qemu_irq dma_irq);
19 b8842209 Gerd Hoffmann
20 3d2bf4a1 Gerd Hoffmann
/* ide-mmio.c */
21 c227f099 Anthony Liguori
void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
22 3d2bf4a1 Gerd Hoffmann
                    qemu_irq irq, int shift,
23 f455e98c Gerd Hoffmann
                    DriveInfo *hd0, DriveInfo *hd1);
24 3d2bf4a1 Gerd Hoffmann
25 ec82026c Gerd Hoffmann
#endif /* HW_IDE_H */