diff options
| author | Gerd Hoffmann | 2020-06-19 11:18:58 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2020-06-24 23:18:28 +0200 |
| commit | 89ed90e318847e27e64185fe6a370fc7c91e2165 (patch) | |
| tree | 73d3d8eb633f4bf60591fe2d2d3598de4647f885 /include/hw/block | |
| parent | floppy: make isa_fdc_get_drive_max_chs static (diff) | |
| download | qemu-89ed90e318847e27e64185fe6a370fc7c91e2165.tar.gz qemu-89ed90e318847e27e64185fe6a370fc7c91e2165.tar.xz qemu-89ed90e318847e27e64185fe6a370fc7c91e2165.zip | |
floppy: move cmos_get_fd_drive_type() from pc
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20200619091905.21676-6-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/block')
| -rw-r--r-- | include/hw/block/fdc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/block/fdc.h b/include/hw/block/fdc.h index 5d71cf9722..479cebc0a3 100644 --- a/include/hw/block/fdc.h +++ b/include/hw/block/fdc.h @@ -16,5 +16,6 @@ void sun4m_fdctrl_init(qemu_irq irq, hwaddr io_base, DriveInfo **fds, qemu_irq *fdc_tc); FloppyDriveType isa_fdc_get_drive_type(ISADevice *fdc, int i); +int cmos_get_fd_drive_type(FloppyDriveType fd0); #endif |
