From owner-freebsd-alpha Sun Sep 3 8:21:47 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 6520A37B422 for ; Sun, 3 Sep 2000 08:21:44 -0700 (PDT) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id IAA12155 for ; Sun, 3 Sep 2000 08:21:44 -0700 Date: Sun, 3 Sep 2000 08:21:34 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: alpha@FreeBSD.ORG Subject: cvs commit: src/sys/pci pcisupport.c (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This may fix alpha breakage. ---------- Forwarded message ---------- Date: Sun, 3 Sep 2000 01:30:10 -0700 (PDT) From: Peter Wemm To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci pcisupport.c peter 2000/09/03 01:30:10 PDT Modified files: sys/pci pcisupport.c Log: Fix pci-pci bridges (I hope). In the nexus case, there are no ivars for children of nexus devices, and we were passing data in from before the device existed, hence ivars are convenient as the softc doesn't really exist yet. However, for pci->pci bridges, the pcib occupies a pci device itself, which *does* already have ivars. However, softc is available and stable at this point since we've been identified and are locating the bus during attach. So, use softc for this version of pcib devices for storing the physical bus number in. Revision Changes Path 1.169 +5 -10 src/sys/pci/pcisupport.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message