On Tue, Jun 17, 2008 at 02:31:03PM -0700, Stephen Neuendorffer wrote: > I'm very interested in trying to factor out board data from the device > tree, but for slightly different reasons, I think. (Although I don't > exactly understand what you're proposing...)
Sorry, I should have gone into a *little* more detail about what DMI information actually is. DMI provides device management data - you can see the things that Linux supports in include/linux/dmi.h. Of most relevance to what I'm talking about here is information like the board, chassis and system manufactuer, product name and version though there is other, more device tree style, information in there. This information can be queried by drivers to allow them to override default behaviour based on knowledge about the system in a similar way to how OpenFirmware but of more relevance here is that it is also possible for drivers to use the module autoloading infrastructure to automatically load modules which provide dmi: module aliases (for example, this is used by the dcdbas driver which interfaces to Dell system management controllers to automatically load on Dell systems). > I don't yet have a proposal, but I'd be curious to hear your thoughts. My proposal would be to essentially clone at least the system information bit of the DMI API to provide equivalent information. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev