From owner-svn-src-stable@FreeBSD.ORG Fri Dec 18 22:24:19 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A2C1065740; Fri, 18 Dec 2009 22:24:19 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CED658FC17; Fri, 18 Dec 2009 22:24:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBIMOJjf010873; Fri, 18 Dec 2009 22:24:19 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBIMOJ7U010871; Fri, 18 Dec 2009 22:24:19 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200912182224.nBIMOJ7U010871@svn.freebsd.org> From: John Baldwin Date: Fri, 18 Dec 2009 22:24:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200699 - stable/6/sys/boot/i386/libi386 X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 22:24:20 -0000 Author: jhb Date: Fri Dec 18 22:24:19 2009 New Revision: 200699 URL: http://svn.freebsd.org/changeset/base/200699 Log: MFC 200357: Don't warn about an RSDP with a corrupt checksum. The kernel does a better job about warning about these things later and this message can be confusing. Modified: stable/6/sys/boot/i386/libi386/biosacpi.c Directory Properties: stable/6/sys/ (props changed) stable/6/sys/contrib/pf/ (props changed) stable/6/sys/dev/cxgb/ (props changed) Modified: stable/6/sys/boot/i386/libi386/biosacpi.c ============================================================================== --- stable/6/sys/boot/i386/libi386/biosacpi.c Fri Dec 18 22:23:57 2009 (r200698) +++ stable/6/sys/boot/i386/libi386/biosacpi.c Fri Dec 18 22:24:19 2009 (r200699) @@ -123,10 +123,8 @@ biosacpi_search_rsdp(char *base, int len sum = 0; for (idx = 0; idx < RSDP_CHECKSUM_LENGTH; idx++) sum += *(cp + idx); - if (sum != 0) { - printf("acpi: bad RSDP checksum (%d)\n", sum); + if (sum != 0) continue; - } return(rsdp); } }