On Tue, Feb 12, 2008 at 10:30:04AM -0800, Linus Torvalds wrote:
That's how I first tried to do this (old pci-piggy patches in -mm were a
result of this...).
But, we have the issue of the foolish-in-retrospect sysdev devices.
They are an example of "multiple drivers per device" type thing. To
clean them up properly, they need to move to the general 'struct device'
and if that is going to already support the one-to-many model, well,
then any PCI implementation of such an internal bus can also use the
same code.
This is a lot of handwaving right now, let me go work on some code and
see how it turns out.
Don't worry, I'll expect a lot of review cycles :)
thanks,
greg k-h
--