From owner-cvs-all@FreeBSD.ORG Fri Jul 27 09:34:43 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8011D16A41A; Fri, 27 Jul 2007 09:34:43 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7504D13C458; Fri, 27 Jul 2007 09:34:43 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6R9Yh4t072083; Fri, 27 Jul 2007 09:34:43 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6R9YhfQ072079; Fri, 27 Jul 2007 09:34:43 GMT (envelope-from dwmalone) Message-Id: <200707270934.l6R9YhfQ072079@repoman.freebsd.org> From: David Malone Date: Fri, 27 Jul 2007 09:34:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/isa clock.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 09:34:43 -0000 dwmalone 2007-07-27 09:34:43 UTC FreeBSD src repository Modified files: sys/i386/isa clock.c Log: It seems that some i386 mothermoards either do not implement the day of week field correctly, or they remember bad values that are written into the day of week field. For this reason, ignore the day of week field when reading the clock on i386 rather than bailing if it is set incorrectly. Problems were seen on a number of platforms, including VMWare, qemu, EPIA ME6000, Epox-3PTA and ABIT-SL30T. This is a slightly different fix to that proposed by Ted in his PR, but the same basic idea. PR: 111117 Submitted by: Ted Faber Approved by: re (rwatson) MFC after: 3 weeks Revision Changes Path 1.239 +2 -1 src/sys/i386/isa/clock.c