slirp: Remove unused code for bad sprintf
[qemu.git] / hw / fdc.h
blob242730af8c2469ae51b1c2a12ec0af68a80aa5b3
1 #ifndef HW_FDC_H
2 #define HW_FDC_H
4 /* fdc.c */
5 #define MAX_FD 2
7 typedef struct FDCtrl FDCtrl;
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);
16 #endif