[LinuxBIOS] Adding a config option

Richard Smith smithbone at gmail.com
Fri Apr 21 18:34:05 CEST 2006

> you need to add the option in src/config/Options.lb as well.

Ah thats it. I knew there was another place.

> Idea: We should add a maximum bus number to it, so we can look for the
> device on bus0 only for example, or on the first 10 busses, if we know
> its an epia that will never have an onboard device with a bus number
> higher than that. Searching 256 busses takes a while, no doubt. And its
> not a smart thing to do at this place either.

Excellent Idea.  Much better than more #if's.  So OPTION_PCI_MAX_BUS?
and then fixup the search routine to never look beyond that.  The
default could be 5 or so which is sane for 99% of the setups.

Richard A. Smith

More information about the coreboot mailing list