diff options
| author | Andreas Färber | 2013-04-27 22:18:38 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-04-29 15:27:47 +0200 |
| commit | 020c8e7602fc6bf6a6ce62d99fb0a0882877ccd1 (patch) | |
| tree | 3afd2d9873d244e791b5d614f77a7f76dfc33c69 /include/hw | |
| parent | cirrus_vga: QOM'ify ISA Cirrus VGA (diff) | |
| download | qemu-020c8e7602fc6bf6a6ce62d99fb0a0882877ccd1.tar.gz qemu-020c8e7602fc6bf6a6ce62d99fb0a0882877ccd1.tar.xz qemu-020c8e7602fc6bf6a6ce62d99fb0a0882877ccd1.zip | |
fdc: QOM'ify ISA floppy controller
Introduce type constant and cast macro to obsolete DO_UPCAST().
Reuse type constant for PC machine compatibility settings.
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1367093935-29091-4-git-send-email-afaerber@suse.de
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/block/fdc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/block/fdc.h b/include/hw/block/fdc.h index a8f6f7c850..d48b2f860c 100644 --- a/include/hw/block/fdc.h +++ b/include/hw/block/fdc.h @@ -13,6 +13,8 @@ typedef enum FDriveType { FDRIVE_DRV_NONE = 0x03, /* No drive connected */ } FDriveType; +#define TYPE_ISA_FDC "isa-fdc" + ISADevice *fdctrl_init_isa(ISABus *bus, DriveInfo **fds); void fdctrl_init_sysbus(qemu_irq irq, int dma_chann, hwaddr mmio_base, DriveInfo **fds); |
