From owner-cvs-src-old@FreeBSD.ORG Sat Mar 14 14:09:10 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A25C31065679 for ; Sat, 14 Mar 2009 14:09:10 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 901578FC19 for ; Sat, 14 Mar 2009 14:09:10 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2EE9Al7016422 for ; Sat, 14 Mar 2009 14:09:10 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2EE9A1C016421 for cvs-src-old@freebsd.org; Sat, 14 Mar 2009 14:09:10 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <200903141409.n2EE9A1C016421@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Sat, 14 Mar 2009 14:08:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/pci pci_pci.c pcib_private.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 14:09:10 -0000 imp 2009-03-14 14:08:53 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c pcib_private.h Log: SVN rev 189792 on 2009-03-14 14:08:53Z by imp Two fixes: (1) Fix pcib_read/write_config prototypes. (2) When contrainting a resource request for a 'subtractive' bridge, it is important to select a range outside the base/limit registers, since those are the only values known to not possibly work. On my HP laptop, the base bridge excludes I/O ports 0xa000-0xafff, however that was the range we were passing up the tree. Instead, when a range spans the "hole" we now arbitrarily pick the range just above the hole to allocate from. All of my rl and xl cards, at a minimum, started working again on this laptop with those fixes. Revision Changes Path 1.57 +12 -16 src/sys/dev/pci/pci_pci.c 1.15 +2 -2 src/sys/dev/pci/pcib_private.h