From owner-cvs-src@FreeBSD.ORG Thu Apr 22 22:25:14 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ED5316A4CE; Thu, 22 Apr 2004 22:25:14 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6159543D48; Thu, 22 Apr 2004 22:25:14 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3N5PEGe042552; Thu, 22 Apr 2004 22:25:14 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3N5PEb0042551; Thu, 22 Apr 2004 22:25:14 -0700 (PDT) (envelope-from imp) Message-Id: <200404230525.i3N5PEb0042551@repoman.freebsd.org> From: Warner Losh Date: Thu, 22 Apr 2004 22:25:13 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/pccbb pccbb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 05:25:14 -0000 imp 2004/04/22 22:25:13 PDT FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: Start programming the bus numbers for the pci<->cardbus. When the secondary bus is 0, we program the primary bus, the secondary bus and the suborindate bus. This isn't ideal, since we start at parent_bus + 1 and store this in a static. Ideally, we'd walk the tree and assign bus numbers. However, that's harder to accomplish without some help from the bus layer which we're not planning on doing that until 6. This fixes my CardBus problems on my Sony PCG-Z1WA, and might fix the Dells that have had problems. Revision Changes Path 1.109 +30 -1 src/sys/dev/pccbb/pccbb.c