From 497f9226e8360c702c17a22e4cec9da7ccc9af78 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 6 Aug 2003 21:19:28 -0700 Subject: [PATCH] [ALPHA] Fix RTC init for LYNX. From Jay Estabrook . --- arch/alpha/kernel/time.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index 2dde45e05d130..b72101b285199 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c @@ -149,7 +149,9 @@ common_init_rtc(void) /* Reset periodic interrupt frequency. */ x = CMOS_READ(RTC_FREQ_SELECT) & 0x3f; - if (x != 0x26 && x != 0x19 && x != 0x06) { + /* Test includes known working values on various platforms + where 0x26 is wrong; we refuse to change those. */ + if (x != 0x26 && x != 0x25 && x != 0x19 && x != 0x06) { printk("Setting RTC_FREQ to 1024 Hz (%x)\n", x); CMOS_WRITE(0x26, RTC_FREQ_SELECT); } -- 2.53.0