diff options
author | Blue Swirl | 2011-02-12 22:23:12 +0100 |
---|---|---|
committer | Blue Swirl | 2011-02-20 10:33:26 +0100 |
commit | d288c7ba7beb7975fe4bc15b0b14b9fd14da0a03 (patch) | |
tree | e53d03368a5659c0b6a255073253972a6195344a /hw/fdc.h | |
parent | fdc: move floppy geometry guessing to block.c (diff) | |
download | qemu-d288c7ba7beb7975fe4bc15b0b14b9fd14da0a03.tar.gz qemu-d288c7ba7beb7975fe4bc15b0b14b9fd14da0a03.tar.xz qemu-d288c7ba7beb7975fe4bc15b0b14b9fd14da0a03.zip |
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 |