Statistics
| Branch: | Revision:

root / hw / ide.h @ c0897e0c

History | View | Annotate | Download (957 Bytes)

1
#ifndef HW_IDE_H
2
#define HW_IDE_H
3

    
4
#include "isa.h"
5
#include "pci.h"
6

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

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

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

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

    
27
void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
28

    
29
#endif /* HW_IDE_H */