diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-02-12 21:23:12 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-20 09:33:26 +0000 |
commit | d288c7ba7beb7975fe4bc15b0b14b9fd14da0a03 (patch) | |
tree | e53d03368a5659c0b6a255073253972a6195344a /hw/fdc.h | |
parent | 5bbdbb4676d17e782ae83055bac58e0751b25e4b (diff) |
fdc: use FDriveType for floppy drive type
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/fdc.h')
-rw-r--r-- | hw/fdc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ #ifndef HW_FDC_H #define HW_FDC_H +#include "blockdev.h" + /* fdc.c */ #define MAX_FD 2 @@ -11,6 +13,6 @@ FDCtrl *fdctrl_init_sysbus(qemu_irq irq, int dma_chann, target_phys_addr_t mmio_base, DriveInfo **fds); FDCtrl *sun4m_fdctrl_init(qemu_irq irq, target_phys_addr_t io_base, DriveInfo **fds, qemu_irq *fdc_tc); -int fdctrl_get_drive_type(FDCtrl *fdctrl, int drive_num); +FDriveType fdctrl_get_drive_type(FDCtrl *fdctrl, int drive_num); #endif |