From owner-cvs-all@FreeBSD.ORG Fri Feb 2 19:54:17 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 763F216A405; Fri, 2 Feb 2007 19:54:17 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6833613C48D; Fri, 2 Feb 2007 19:54:17 +0000 (UTC) (envelope-from jhb@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 l12JsHhC092308; Fri, 2 Feb 2007 19:54:17 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l12JsHjX092307; Fri, 2 Feb 2007 19:54:17 GMT (envelope-from jhb) Message-Id: <200702021954.l12JsHjX092307@repoman.freebsd.org> From: John Baldwin Date: Fri, 2 Feb 2007 19:54:17 +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 Makefile cap.c pciconf.8 pciconf.c pciconf.h 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, 02 Feb 2007 19:54:17 -0000 jhb 2007-02-02 19:54:17 UTC FreeBSD src repository Modified files: usr.sbin/pciconf Makefile pciconf.8 pciconf.c Added files: usr.sbin/pciconf cap.c pciconf.h Log: - Teach pciconf(8) to list the PCI capabilities supported by each device via a new -c flag to be used with -l. Some simple parsing code is present for the following capabilities: Power Management, AGP, VPD, MSI, PCI-X, HyperTransport, Vendor-specific, EHCI Debug Port, PCI-PCI bridge subvendor ID, PCI-express, and MSI-X. - Fix a few warnings in pciconf.c. - Update some cruft in pciconf(8): - PCI 2.1 is no longer a revolutionary standard, and subvendor ID's are fairly common at this point, so reflect that. - Header type 2 is used for PCI-CardBus bridges. - Describe the -v option for -l after completing the basic -l description instead of disrupting the flow in the middle. Reviewed by: imp (partially) MFC after: 1 week Revision Changes Path 1.10 +2 -1 src/usr.sbin/pciconf/Makefile 1.1 +477 -0 src/usr.sbin/pciconf/cap.c (new) 1.27 +33 -16 src/usr.sbin/pciconf/pciconf.8 1.27 +44 -30 src/usr.sbin/pciconf/pciconf.c 1.1 +38 -0 src/usr.sbin/pciconf/pciconf.h (new)