On Tue, Apr 20, 2004 at 10:11:28PM +0200, Ralf Baechle wrote: > On Tue, Apr 20, 2004 at 10:51:16AM -0700, Jun Sun wrote: > > > CONFIG_PCI_AUTO was meant to a board attribute. It should not be changed > > to be a choice at the first place. > > > > And, the code is not bOrked. In 2.4 it is a life saver for most MIPS boards > > whose firmware do not do a proper or full PCI resource assignment. > > drivers/pci can do that, you just need to supply a few board specific > functions, see for example arch/alpha/kernel/pci.c. So pci_auto.c isn't > only b0rked, it also duplicates code. > Has anybody succssfully used pci_assign_unassigned_resources() in latest 2.4? It was badly broken in early 2.4 kernels while pci_auto was the only option. So at most you can only say "pci_assign_unassigned_resources() can finally does what pci_auto does". :) Jun