Re: 2.4.2 yenta_socket problems on ThinkPad 240

Jeff Garzik
2001-06-16T17:56:34Z

Alan Cox wrote:
>
> > I would love to just define it unconditionally for x86, but I believe
> > Martin said that causes problems with some hardware, and the way the
> > BIOS has set up that hardware. (details anyone?)
>
> Im not sure unconditionally is wise. However turning it into a routine that
> walks the PCI bus tree and returns 1 if a duplicate is found seems to be
> a little bit less likely to cause suprises

That would work, but is really a bandaid because we don't know what the
real problem is... this still smells vaguely like yenta and pci bus
core should be more than just the kissing cousins they are now. OTOH I
still don't like how much we trust firmware PCI bus setup on x86..

I am pretty lucky on Alpha, we already trust the kernel PCI code
implicitly by unconditionally defining pcibios_assign_all_busses to one.
:)

Jeff

--
Jeff Garzik | Andre the Giant has a posse.
Building 1024 |
MandrakeSoft |