From owner-cvs-all@FreeBSD.ORG Thu Sep 18 10:00:04 2003 Return-Path: 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 1CA1A16A4B3; Thu, 18 Sep 2003 10:00:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E2243FBF; Thu, 18 Sep 2003 10:00:03 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h8IH03XJ067313; Thu, 18 Sep 2003 10:00:03 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8IH03Kw067312; Thu, 18 Sep 2003 10:00:03 -0700 (PDT) (envelope-from jhb) Message-Id: <200309181700.h8IH03Kw067312@repoman.freebsd.org> From: John Baldwin Date: Thu, 18 Sep 2003 10:00:03 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/include pci_cfgreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 18 Sep 2003 17:00:04 -0000 jhb 2003/09/18 10:00:03 PDT FreeBSD src repository Modified files: sys/i386/include pci_cfgreg.h Log: Fix a busted constant related to PCI configuration acess method #1. The reserved bits in the port that must be zero are 24:30, not 20:30. Bits 16:23 are used to set the bus number. This meant that when we tested for config mechanism #1, if the previous PCI configuration transaction sent used a bus number greater than 15, one of the bits in 20:23 would be non-zero and we would fail to use config mechanism #1 and thus fail to see that PCI existed on the machine at all. Obtained from: Shanley's PCI System Architecture book Tested by: des Proxied through: njl Revision Changes Path 1.10 +1 -1 src/sys/i386/include/pci_cfgreg.h