mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
6d4c2f1755
commit
020c8e7602
3 changed files with 15 additions and 10 deletions
|
@ -458,7 +458,7 @@ static QEMUMachine pc_machine_v1_1 = {
|
|||
.property = "rom_only",\
|
||||
.value = stringify(1),\
|
||||
}, {\
|
||||
.driver = "isa-fdc",\
|
||||
.driver = TYPE_ISA_FDC,\
|
||||
.property = "check_media_rate",\
|
||||
.value = "off",\
|
||||
}, {\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue