<br><br><div class="gmail_quote">On Fri, Oct 16, 2009 at 8:39 AM, Peter Stuge <span dir="ltr"><<a href="mailto:peter@stuge.se">peter@stuge.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Myles Watson wrote:<br>
> > > > Subject: [coreboot] [PATCH] kconfig: Set MAX_PCI_BUSES to same<br>
> > > > values as<br>
> > ><br>
> > > Can we just remove it from newconfig and Kconfig?  It's never<br>
> > > used in the code.<br>
> ><br>
> > Or fix the code? Shouldn't it be used?<br>
><br>
> For what?<br>
<br>
</div>Stop scanning PCI busses?<br></blockquote><div>Right now the code scans the root bus and any bus it can find from there.  It just scans until it finds no more devices which have a bus.  I don't think we want to change the code to blindly scan from 0->MAX_PCI_BUSES.  On my Tyan s2895 Board there are 6 PCI buses as it's configured: 0,1,2,40,41,42,80.  You can plug in a card that will make more somewhere, but 3-39,43-79,81-... don't need to be scanned.<br>
<br>Thanks,<br>Myles<br></div></div><br>