----- Original Message ----

> From: Peter Stuge <[EMAIL PROTECTED]>
> To: Coreboot <[email protected]>
> 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.
Marc


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to