From owner-cvs-all@FreeBSD.ORG Wed Sep 22 20:14:47 2004 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 064C916A4CE; Wed, 22 Sep 2004 20:14:47 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDD843D2F; Wed, 22 Sep 2004 20:14:46 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8MKEkQB061535; Wed, 22 Sep 2004 20:14:46 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8MKEkf7061534; Wed, 22 Sep 2004 20:14:46 GMT (envelope-from ps) Message-Id: <200409222014.i8MKEkf7061534@repoman.freebsd.org> From: Paul Saab Date: Wed, 22 Sep 2004 20:14:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 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: Wed, 22 Sep 2004 20:14:47 -0000 ps 2004-09-22 20:14:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) sys/i386/include pci_cfgreg.h Log: MFC: revision 1.10 date: 2003/09/18 17:00:03; author: jhb; state: Exp; lines: +1 -1 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. Approved by: jhb Revision Changes Path 1.4.2.2 +2 -2 src/sys/i386/include/pci_cfgreg.h