Date: Sun, 3 Sep 2000 08:21:34 -0700 (PDT) From: Matthew Jacob <mjacob@feral.com> To: alpha@FreeBSD.ORG Subject: cvs commit: src/sys/pci pcisupport.c (fwd) Message-ID: <Pine.BSF.4.21.0009030821190.45915-100000@beppo.feral.com>
next in thread | raw e-mail | index | archive | help
This may fix alpha breakage. ---------- Forwarded message ---------- Date: Sun, 3 Sep 2000 01:30:10 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009030821190.45915-100000>