aboutsummaryrefslogtreecommitdiff
path: root/hw/fdc.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-02-12 21:23:12 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-02-20 09:33:26 +0000
commitd288c7ba7beb7975fe4bc15b0b14b9fd14da0a03 (patch)
treee53d03368a5659c0b6a255073253972a6195344a /hw/fdc.h
parent5bbdbb4676d17e782ae83055bac58e0751b25e4b (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.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