blob: 7b6a9ded8e128f4094693798157aa3a50f843bc5 [file] [log] [blame]
pbrook87ecb682007-11-17 17:14:51 +00001/* fdc.c */
2#define MAX_FD 2
pbrook87ecb682007-11-17 17:14:51 +00003
4typedef struct fdctrl_t fdctrl_t;
5
6fdctrl_t *fdctrl_init (qemu_irq irq, int dma_chann, int mem_mapped,
7 target_phys_addr_t io_base,
8 BlockDriverState **fds);
9fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base,
blueswir12be17eb2008-03-21 18:05:23 +000010 BlockDriverState **fds, qemu_irq *fdc_tc);
pbrook87ecb682007-11-17 17:14:51 +000011int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);