4 #include "exec/hwaddr.h"
5 #include "qapi/qapi-types-block.h"
10 #define TYPE_ISA_FDC "isa-fdc"
12 ISADevice
*fdctrl_init_isa(ISABus
*bus
, DriveInfo
**fds
);
13 void fdctrl_init_sysbus(qemu_irq irq
, int dma_chann
,
14 hwaddr mmio_base
, DriveInfo
**fds
);
15 void sun4m_fdctrl_init(qemu_irq irq
, hwaddr io_base
,
16 DriveInfo
**fds
, qemu_irq
*fdc_tc
);
18 FloppyDriveType
isa_fdc_get_drive_type(ISADevice
*fdc
, int i
);
19 void isa_fdc_get_drive_max_chs(FloppyDriveType type
,
20 uint8_t *maxc
, uint8_t *maxh
, uint8_t *maxs
);