From 020c8e7602fc6bf6a6ce62d99fb0a0882877ccd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sat, 27 Apr 2013 22:18:38 +0200 Subject: fdc: QOM'ify ISA floppy controller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Andreas Färber Message-id: 1367093935-29091-4-git-send-email-afaerber@suse.de Cc: Markus Armbruster Signed-off-by: Anthony Liguori --- hw/i386/pc_piix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/i386/pc_piix.c') diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 89b4cb4635..08dd61d1d8 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -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",\ }, {\ -- cgit v1.2.3