From 09c6d5850fbd2b8abeba927fffff036585a755e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 6 Feb 2012 22:29:09 +0100 Subject: fdc: add a 'check media rate' property. Not used yet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set it to true for current Qemu versions, and false for previous ones Signed-off-by: Hervé Poussineau Signed-off-by: Kevin Wolf --- hw/fdc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/fdc.c') diff --git a/hw/fdc.c b/hw/fdc.c index 08012f9fef..1c7e7759f6 100644 --- a/hw/fdc.c +++ b/hw/fdc.c @@ -420,6 +420,7 @@ struct FDCtrl { int sun4m; FDrive drives[MAX_FD]; int reset_sensei; + uint32_t check_media_rate; /* Timers state */ uint8_t timer0; uint8_t timer1; @@ -2003,6 +2004,8 @@ static Property isa_fdc_properties[] = { DEFINE_PROP_DRIVE("driveB", FDCtrlISABus, state.drives[1].bs), DEFINE_PROP_INT32("bootindexA", FDCtrlISABus, bootindexA, -1), DEFINE_PROP_INT32("bootindexB", FDCtrlISABus, bootindexB, -1), + DEFINE_PROP_BIT("check_media_rate", FDCtrlISABus, state.check_media_rate, + 0, true), DEFINE_PROP_END_OF_LIST(), }; -- cgit v1.2.3