From owner-cvs-src@FreeBSD.ORG Thu Oct 4 22:18:53 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E15DD16A41A; Thu, 4 Oct 2007 22:18:53 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DBBD013C48D; Thu, 4 Oct 2007 22:18:53 +0000 (UTC) (envelope-from se@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 l94MIrUw000114; Thu, 4 Oct 2007 22:18:53 GMT (envelope-from se@repoman.freebsd.org) Received: (from se@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l94MIr8P000113; Thu, 4 Oct 2007 22:18:53 GMT (envelope-from se) Message-Id: <200710042218.l94MIr8P000113@repoman.freebsd.org> From: Stefan Esser Date: Thu, 4 Oct 2007 22:18:53 +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/usr.sbin/pciconf pciconf.8 pciconf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 22:18:54 -0000 se 2007-10-04 22:18:53 UTC FreeBSD src repository Modified files: usr.sbin/pciconf pciconf.8 pciconf.c Log: Restore compatibility with version before introduction of PCI domains. PCI selectors with 2 or 3 elements behave exactly as before (i.e. the domain is 0 and in the 2 element case, the function is also 0). The form with 4 selector elements works as in the previous revision and provides the PCI domain number as the left-most selector element. This change allows old scripts (which used the 2 or 3 selector element formats) to be kept. Without this patch, the 3 element form was parsed as starting with a domain number (and the function was assumed to be 0), with this patch, the domain is assumed to be 0 (and the last value is used as the function number). The man page is updated to describe the new selector semantics. Approved by: re (Ken Smith) Revision Changes Path 1.30 +6 -4 src/usr.sbin/pciconf/pciconf.8 1.29 +16 -14 src/usr.sbin/pciconf/pciconf.c