On Mon, May 05, 2014 at 06:45:28PM +1000, Benjamin Herrenschmidt wrote: > On Sun, 2014-05-04 at 14:28 +0200, Rafael J. Wysocki wrote: > > In my opinion, device drivers should not be concerned about that > > really. > > The layers of code above them (bus types etc.) should, but not drivers > > themselves, because that makes it difficult to use the same driver > > for the same piece of hardware on two systems with different firmware > > interfaces. > Only for standardized resource types, such as mmio ranges or interrupts. > Anything else is absolutely in the domain of competence of the driver > and I would argue *only* in the domain of competence of the driver. > This is a dirty enough table, don't invite a 3rd party to it :-) Right - boring and easy stuff is boring and easy but that's not all the world and we need to acknowledge that.