10 static inline void fdctrl_init_isa(DriveInfo
**fds
)
14 dev
= isa_try_create("isa-fdc");
19 qdev_prop_set_drive_nofail(&dev
->qdev
, "driveA", fds
[0]->bdrv
);
22 qdev_prop_set_drive_nofail(&dev
->qdev
, "driveB", fds
[1]->bdrv
);
24 qdev_init_nofail(&dev
->qdev
);
27 void fdctrl_init_sysbus(qemu_irq irq
, int dma_chann
,
28 target_phys_addr_t mmio_base
, DriveInfo
**fds
);
29 void sun4m_fdctrl_init(qemu_irq irq
, target_phys_addr_t io_base
,
30 DriveInfo
**fds
, qemu_irq
*fdc_tc
);