Date: Mon, 18 Jun 2007 21:46:08 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/pci ofw_pcib.c Message-ID: <200706182146.l5ILk8tE016603@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2007-06-18 21:46:07 UTC
FreeBSD src repository
Modified files:
sys/sparc64/pci ofw_pcib.c
Log:
For sun4u also add PCI busses with a device unit number of -1
instead of using the PCI bus number, like it's already done for
sun4v in order to deal properly with independently numbered PCI
domains which can't be reenumerated (in the case of sun4u f.e.
Tomatillo bridges). For machines where we need to reenumerate
all PCI busses this change obviously introduces the theoretical
cosmetic problem that the device number of the PCI bus no longer
equals to its PCI bus number. In practice this doesn't happen
as both are assigned linearly and in parallel.
Revision Changes Path
1.8 +1 -8 src/sys/sparc64/pci/ofw_pcib.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706182146.l5ILk8tE016603>
