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 Message-ID: <200009030830.BAA50584@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009030830.BAA50584>
