[coreboot] Max pci bus number?

Marc Jones marcj303 at yahoo.com
Sun Nov 9 18:43:36 CET 2008

----- Original Message ----

> From: Peter Stuge <peter at stuge.se>
> To: Coreboot <coreboot at coreboot.org>
> Sent: Saturday, November 8, 2008 11:24:08 PM
> Subject: Re: [coreboot] Max pci bus number?
> ron minnich wrote:
> > > How can I find the maximum PCI bus number of the system?
> > 
> > we can define the set of things that seabios needs to know and pass
> > them on from coreboot.
> > 
> > Personally, I would prefer textual attribute-value pairs, since
> > binary structs have a lot of problems (version, etc. etc.)
> How about device tree?
> Again, check out
> /usr/src/linux/Documentation/powerpc/booting-without-of.txt at kernel
> source near you.

Either get it from the device tree if it is still available or do the
scan yourself. Note that you should use the numbers you find already
set in the bridges. Don't just increment a count as you find bridges.

More information about the coreboot mailing list