]> git.proxmox.com Git - qemu.git/blame - hw/ide.h
onenand: Add missing brace.
[qemu.git] / hw / ide.h
CommitLineData
ec82026c
GH
1#ifndef HW_IDE_H
2#define HW_IDE_H
3
57c88866
MA
4#include "isa.h"
5#include "pci.h"
ec82026c 6
27d6bf40
MA
7#define MAX_IDE_DEVS 2
8
ec82026c 9/* ide-isa.c */
57c88866
MA
10ISADevice *isa_ide_init(int iobase, int iobase2, int isairq,
11 DriveInfo *hd0, DriveInfo *hd1);
ec82026c 12
977e1244 13/* ide-pci.c */
f455e98c 14void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
977e1244 15 int secondary_ide_enabled);
679f4f8b 16PCIDevice *pci_piix3_xen_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
57c88866
MA
17PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
18PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
016512f3 19void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
977e1244 20
b8842209 21/* ide-macio.c */
f455e98c 22int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
b8842209
GH
23 void *dbdma, int channel, qemu_irq dma_irq);
24
3d2bf4a1 25/* ide-mmio.c */
c227f099 26void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
3d2bf4a1 27 qemu_irq irq, int shift,
f455e98c 28 DriveInfo *hd0, DriveInfo *hd1);
3d2bf4a1 29
c0897e0c
MA
30void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
31
75717903
IY
32/* ide/core.c */
33void ide_drive_get(DriveInfo **hd, int max_bus);
34
ec82026c 35#endif /* HW_IDE_H */