Re: pci_scan_bridge and cardbus controllers?

From: Greg KH
Date: Thu Dec 29 2005 - 12:59:04 EST


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 :)

thanks,

greg k-h
-
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/