Re: pci_scan_bridge and cardbus controllers?

From: Dominik Brodowski
Date: Thu Dec 29 2005 - 17:43:12 EST


Hi,

On Wed, Dec 28, 2005 at 11:17:56PM -0800, Greg KH wrote:
> On Wed, Dec 14, 2005 at 01:45:30PM -0600, Kumar Gala wrote:
> > in pci_fixup_parent_subordinate_busnr() we will only reassign bus numbers
> > if pcibios_assign_all_busses() returns 1.
> >
> > If we got to pci_fixup_parent_subordinate_busnr() and
> > pcibios_assign_all_busses() returns 0, should we not print out some
> > warning since we most likely got here because the bios didn't init things
> > properly?
> >
> > I came across this on an embedded system in which we had a cardbus
> > controller behind a P2P bridge. The bios did not reserve any bus numbers
> > for the cardbus controller like linux does. So I ended up with:
>
> Ick. Perhaps the pcmcia developers would know better what they want to
> have done here? Try asking on their list :)

Well, there is such a patch in your PCI queue already -- see
http://bugzilla.kernel.org/show_bug.cgi?id=5557 for details.

Dominik
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/