sh4/r2d: update pci, usb and kernel management
[qemu/sh4.git] / hw / fdc.h
blob7b6a9ded8e128f4094693798157aa3a50f843bc5
1 /* fdc.c */
2 #define MAX_FD 2
4 typedef struct fdctrl_t fdctrl_t;
6 fdctrl_t *fdctrl_init (qemu_irq irq, int dma_chann, int mem_mapped,
7 target_phys_addr_t io_base,
8 BlockDriverState **fds);
9 fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base,
10 BlockDriverState **fds, qemu_irq *fdc_tc);
11 int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);