]> git.proxmox.com Git - qemu.git/blob - hw/fdc.h
Merge remote branch 'kwolf/for-anthony' into staging
[qemu.git] / hw / fdc.h
1 #ifndef HW_FDC_H
2 #define HW_FDC_H
3
4 /* fdc.c */
5 #define MAX_FD 2
6
7 typedef struct FDCtrl FDCtrl;
8
9 FDCtrl *fdctrl_init_isa(DriveInfo **fds);
10 FDCtrl *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
11 target_phys_addr_t mmio_base, DriveInfo **fds);
12 FDCtrl *sun4m_fdctrl_init(qemu_irq irq, target_phys_addr_t io_base,
13 DriveInfo **fds, qemu_irq *fdc_tc);
14 int fdctrl_get_drive_type(FDCtrl *fdctrl, int drive_num);
15
16 #endif