From owner-cvs-src-old@FreeBSD.ORG Thu Oct 21 17:46:45 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED50106564A for ; Thu, 21 Oct 2010 17:46:45 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5368A8FC16 for ; Thu, 21 Oct 2010 17:46:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9LHkjj2005818 for ; Thu, 21 Oct 2010 17:46:45 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9LHkjTd005817 for cvs-src-old@freebsd.org; Thu, 21 Oct 2010 17:46:45 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201010211746.o9LHkjTd005817@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 21 Oct 2010 17:46:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/pci pci.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 17:46:45 -0000 jhb 2010-10-21 17:46:23 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 214146 on 2010-10-21 17:46:23Z by jhb Clarify a misleading comment. The test in pci_reserve_map() was meant to ignore BARs that are invalid due to having a size of zero, not to ignore BARs with an existing base of zero. While here, reorganize the code slightly to make the intent clearer. Reported by: avg MFC after: 1 week Revision Changes Path 1.408 +9 -9 src/sys/dev/pci/pci.c