From owner-cvs-all@FreeBSD.ORG Wed Aug 20 18:30:12 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C9631065675; Wed, 20 Aug 2008 18:30:11 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E177C8FC0C; Wed, 20 Aug 2008 18:30:09 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7KIU938044839; Wed, 20 Aug 2008 18:30:09 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7KIU9u6044838; Wed, 20 Aug 2008 18:30:09 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200808201830.m7KIU9u6044838@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 20 Aug 2008 18:29:59 +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_pci.c pcireg.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: Wed, 20 Aug 2008 18:30:12 -0000 jhb 2008-08-20 18:29:59 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c pcireg.h Log: SVN rev 181934 on 2008-08-20 18:29:59Z by jhb The config space registers holding the upper 32-bits of the prefetchable memory area's base and limit are optional. The low 4-bits of the "low" prefetchable registers indicates whether or not a 32-bit or 64-bit region is supported. The PCI-PCI driver had been assuming that all bridges supported a 64-bit region (and thus the two upper 32-bit registers). Fix the driver to only use those registers if the low 4-bits of the "low" registers indicate that a 64-bit region is supported. The PCI-PCI bridge in the XBox happens to be a bridge that only supports a 32-bit region. Reported by: rink MFC after: 1 week Revision Changes Path 1.55 +16 -4 src/sys/dev/pci/pci_pci.c 1.65 +3 -0 src/sys/dev/pci/pcireg.h