really fix net.h
[qemu.git] / hw / fdc.h
blobc64e8b4572a38ca963420002ab47979d976a7234
1 /* fdc.c */
2 #include "sysemu.h"
3 #define MAX_FD 2
5 typedef struct fdctrl_t fdctrl_t;
7 fdctrl_t *fdctrl_init_isa(DriveInfo **fds);
8 fdctrl_t *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
9 target_phys_addr_t mmio_base,
10 DriveInfo **fds);
11 fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base,
12 DriveInfo **fds, qemu_irq *fdc_tc);
13 int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);