From owner-cvs-all@FreeBSD.ORG Fri Oct 20 21:29:07 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE47916A4CE; Fri, 20 Oct 2006 21:29:07 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFB5643D99; Fri, 20 Oct 2006 21:28:16 +0000 (GMT) (envelope-from jmg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9KLSBPr059306; Fri, 20 Oct 2006 21:28:11 GMT (envelope-from jmg@repoman.freebsd.org) Received: (from jmg@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9KLSBgo059305; Fri, 20 Oct 2006 21:28:11 GMT (envelope-from jmg) Message-Id: <200610202128.k9KLSBgo059305@repoman.freebsd.org> From: John-Mark Gurney Date: Fri, 20 Oct 2006 21:28:11 +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/dev/pci pci.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, 20 Oct 2006 21:29:08 -0000 jmg 2006-10-20 21:28:11 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: fix tab indentation for CP and RV... If the length is zero, catch this early, instead of making dflen go negative and letting bad things happen... We also check to see if RV (checksum) is 0, and handle that has a checksum failure... Properly handle checksum failures by not processing read-write VPD data, and removing all the found read-only data... Tested by: oleg (dflen going negative) Revision Changes Path 1.316 +51 -7 src/sys/dev/pci/pci.c