Re: [PATCH] PCI: remove pcibios_scan_all_fns()

From: Benjamin Herrenschmidt
Date: Tue Jun 23 2009 - 18:43:35 EST


On Tue, 2009-06-23 at 15:24 -0700, Jeremy Fitzhardinge wrote:
> I guess we could fake up OF-like datastructures or something, but I
> don't see what wide application that would have. It might help in this
> case, but its a lot more complex than just calling
> pci_scan_single_device() at the appropriate place.

It would be indeed more complex and probably not something to do
right now to solve that specific problem

> Do you have any other cases in mind where it would be helpful?

Well, it might be for virtual device discovery etc... but don't bother
now. We might talk about it at KS for those interested. It's more
something we see as useful for embedded archs at the moment but in the
long run it might make sense for hypervisors as well.

Cheers,
Ben.

--
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/