summaryrefslogtreecommitdiffstats
path: root/hw/fdc.h
diff options
context:
space:
mode:
authorBlue Swirl2011-02-12 22:23:12 +0100
committerBlue Swirl2011-02-20 10:33:26 +0100
commitd288c7ba7beb7975fe4bc15b0b14b9fd14da0a03 (patch)
treee53d03368a5659c0b6a255073253972a6195344a /hw/fdc.h
parentfdc: move floppy geometry guessing to block.c (diff)
downloadqemu-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/fdc.h b/hw/fdc.h
index 242730af8c..30ac970cc1 100644
--- a/hw/fdc.h
+++ b/hw/fdc.h
@@ -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