From owner-cvs-src@FreeBSD.ORG Tue Jan 16 17:04:43 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADAEF16A40F; Tue, 16 Jan 2007 17:04:43 +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 882C613C459; Tue, 16 Jan 2007 17:04:43 +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 l0GH4hwZ072185; Tue, 16 Jan 2007 17:04:43 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0GH4h8v072184; Tue, 16 Jan 2007 17:04:43 GMT (envelope-from jhb) Message-Id: <200701161704.l0GH4h8v072184@repoman.freebsd.org> From: John Baldwin Date: Tue, 16 Jan 2007 17:04:43 +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 pcireg.h 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: Tue, 16 Jan 2007 17:04:43 -0000 jhb 2007-01-16 17:04:43 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pcireg.h Log: Fix the subvendor ID for PCI-PCI bridges. - Retire the PCI_SUB*_1 constants and don't try to read a subvendor ID out of them. There isn't a standard subvendor ID field for PCI-PCI bridges. Instead, the dword at offset 0x34 is actually mostly reserved except for the LSB which is the capabilities pointer. - Add support for the PCI-PCI bridge subvendor ID capability (13) and use it to set the subvendor ID for PCI-PCI bridges. MFC after: 1 month Revision Changes Path 1.336 +7 -2 src/sys/dev/pci/pci.c 1.56 +4 -3 src/sys/dev/pci/pcireg.h