From 65a68d7647ffba0ea0ccfa117d4a82db33e285a3 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Sat, 28 Oct 2000 11:27:56 +0000 Subject: [PATCH] Restore GDC mode to initial mode instead of 24KHz. Submitted by: Tomokazu HARADA --- sys/pc98/cbus/gdc.c | 2 +- sys/pc98/pc98/pc98gdc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/pc98/cbus/gdc.c b/sys/pc98/cbus/gdc.c index 284e2b09f496..dabc1e8d3e50 100644 --- a/sys/pc98/cbus/gdc.c +++ b/sys/pc98/cbus/gdc.c @@ -584,7 +584,7 @@ static void initialize_gdc(unsigned int mode, int isGraph) if ((PC98_SYSTEM_PARAMETER(0x597) & 0x80) || (PC98_SYSTEM_PARAMETER(0x458) & 0x80)) { if (PC98_SYSTEM_PARAMETER(0x481) & 0x08) { - hsync_clock = (m_mode == _25L) ? _24KHZ : _31KHZ; + hsync_clock = (m_mode == _25L) ? gdc_FH : _31KHZ; outb(0x9a8, (hsync_clock == _31KHZ) ? 1 : 0); } else { hsync_clock = gdc_FH; diff --git a/sys/pc98/pc98/pc98gdc.c b/sys/pc98/pc98/pc98gdc.c index 284e2b09f496..dabc1e8d3e50 100644 --- a/sys/pc98/pc98/pc98gdc.c +++ b/sys/pc98/pc98/pc98gdc.c @@ -584,7 +584,7 @@ static void initialize_gdc(unsigned int mode, int isGraph) if ((PC98_SYSTEM_PARAMETER(0x597) & 0x80) || (PC98_SYSTEM_PARAMETER(0x458) & 0x80)) { if (PC98_SYSTEM_PARAMETER(0x481) & 0x08) { - hsync_clock = (m_mode == _25L) ? _24KHZ : _31KHZ; + hsync_clock = (m_mode == _25L) ? gdc_FH : _31KHZ; outb(0x9a8, (hsync_clock == _31KHZ) ? 1 : 0); } else { hsync_clock = gdc_FH;