Date: Thu, 18 Sep 2003 10:00:03 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include pci_cfgreg.h Message-ID: <200309181700.h8IH03Kw067312@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309181700.h8IH03Kw067312>