10 static inline ISADevice
*fdctrl_init_isa(ISABus
*bus
, DriveInfo
**fds
)
14 dev
= isa_try_create(bus
, "isa-fdc");
20 qdev_prop_set_drive_nofail(&dev
->qdev
, "driveA", fds
[0]->bdrv
);
23 qdev_prop_set_drive_nofail(&dev
->qdev
, "driveB", fds
[1]->bdrv
);
25 qdev_init_nofail(&dev
->qdev
);
30 void fdctrl_init_sysbus(qemu_irq irq
, int dma_chann
,
31 target_phys_addr_t mmio_base
, DriveInfo
**fds
);
32 void sun4m_fdctrl_init(qemu_irq irq
, target_phys_addr_t io_base
,
33 DriveInfo
**fds
, qemu_irq
*fdc_tc
);
34 void fdc_get_bs(BlockDriverState
*bs
[], ISADevice
*dev
);