etrax: Update ethernet mgm-ctrl reg on writes
[qemu/agraf.git] / hw / fdc.h
blobb6b37725923b3a088d6b129c03ec5b1a891b0969
1 #ifndef HW_FDC_H
2 #define HW_FDC_H
4 /* fdc.c */
5 #include "blockdev.h"
6 #define MAX_FD 2
8 typedef struct FDCtrl FDCtrl;
10 FDCtrl *fdctrl_init_isa(DriveInfo **fds);
11 FDCtrl *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
12 target_phys_addr_t mmio_base, DriveInfo **fds);
13 FDCtrl *sun4m_fdctrl_init(qemu_irq irq, target_phys_addr_t io_base,
14 DriveInfo **fds, qemu_irq *fdc_tc);
15 int fdctrl_get_drive_type(FDCtrl *fdctrl, int drive_num);
17 #endif