From owner-cvs-all Sun Sep 3 1:30:14 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D163F37B424; Sun, 3 Sep 2000 01:30:10 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA50584; Sun, 3 Sep 2000 01:30:10 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <200009030830.BAA50584@freefall.freebsd.org> From: Peter Wemm Date: Sun, 3 Sep 2000 01:30:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci pcisupport.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 cvs-all" in the body of the message