From owner-cvs-all@FreeBSD.ORG Tue Jan 3 03:36:17 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 EE15A16A41F; Tue, 3 Jan 2006 03:36:17 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FA3D43D4C; Tue, 3 Jan 2006 03:36:17 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k033aHCA033369; Tue, 3 Jan 2006 03:36:17 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k033aHZY033368; Tue, 3 Jan 2006 03:36:17 GMT (envelope-from imp) Message-Id: <200601030336.k033aHZY033368@repoman.freebsd.org> From: Warner Losh Date: Tue, 3 Jan 2006 03:36:17 +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/cardbus cardbus_cis.c 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: Tue, 03 Jan 2006 03:36:18 -0000 imp 2006-01-03 03:36:17 UTC FreeBSD src repository Modified files: sys/dev/cardbus cardbus_cis.c Log: Use the child to allocate the resource rather than bridge, since we're allocating a resource that's in the card itself. Remove more now-redundant resource_list_add, and now-redunant code that lives in the pci layer. # This fixes the atheros card that I have which had its CIS in one of # the BARs. Don't know yet if this fixes the amd64 issues reported. Revision Changes Path 1.58 +6 -41 src/sys/dev/cardbus/cardbus_cis.c