From owner-freebsd-hackers Sat Feb 12 12:54:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail2.aracnet.com (mail2.aracnet.com [216.99.193.35]) by builder.freebsd.org (Postfix) with ESMTP id 8B3CB4156 for ; Sat, 12 Feb 2000 12:53:55 -0800 (PST) Received: from shell1.aracnet.com (IDENT:root@shell1.aracnet.com [216.99.193.21]) by mail2.aracnet.com (8.9.3/8.9.3) with ESMTP id MAA27665 for ; Sat, 12 Feb 2000 12:54:17 -0800 Received: from localhost by shell1.aracnet.com (8.9.3) id MAA12644; Sat, 12 Feb 2000 12:57:46 -0800 X-Authentication-Warning: shell1.aracnet.com: beattie owned process doing -bs Date: Sat, 12 Feb 2000 12:57:46 -0800 (PST) From: Brian Beattie To: hackers@FreeBSD.ORG Subject: CMOS clock won't do 2000 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have an older 486 system, running 3.4R that has a cmos clock that seems to be unwilling to accept years out side the range 94-99. The bios seems willing to set dates between 1994-2099, but after reboot any year not between 94-99 is converted to {20,19}94. What I have done is to go into i386/isa/clock.c and in the routines inittodr, resettodr, is to add 6 to and subtract 6 from the years respectively. I was wondering if anybody had any better ideas. Brian Beattie | The only problem with beattie@aracnet.com | winning the rat race ... www.aracnet.com/~beattie | in the end you're still a rat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message