pci <-> device node mapping

Todd Inglett tinglett at vnet.ibm.com
Thu Jun 19 05:40:19 EST 2003


On Wed, 2003-06-18 at 11:17, linas at austin.ibm.com wrote:

> Ahh, OK, I had this crazy idea that ... never mind.  Is there a technical
> reason for assigned busid's in contiguous order for bridges on cards?
> Why not just grab the 'next unused id' instead of reserving 32 per slot?

This is just how PCI works.  The secondary and subordinate bus numbers
of a bridge form a contiguous range of buses that are bridged.  So you
can't arbitrarily assign numbers without renumbering everything or
leaving holes.

--
Todd Inglett <tinglett at vnet.ibm.com>


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list