Statistics
| Branch: | Revision:

root / hw / ide.h @ a88790a1

History | View | Annotate | Download (857 Bytes)

1
#ifndef HW_IDE_H
2
#define HW_IDE_H
3

    
4
#include "qdev.h"
5

    
6
/* ide-isa.c */
7
int isa_ide_init(int iobase, int iobase2, int isairq,
8
                 DriveInfo *hd0, DriveInfo *hd1);
9

    
10
/* ide-pci.c */
11
void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
12
                         int secondary_ide_enabled);
13
void pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
14
void pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
15
void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
16

    
17
/* ide-macio.c */
18
int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
19
                   void *dbdma, int channel, qemu_irq dma_irq);
20

    
21
/* ide-mmio.c */
22
void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
23
                    qemu_irq irq, int shift,
24
                    DriveInfo *hd0, DriveInfo *hd1);
25

    
26
#endif /* HW_IDE_H */