[PATCH] drivercore: Output common devicetree information in uevent

Grant Likely grant.likely at secretlab.ca
Thu Feb 2 10:20:57 EST 2012


On Wed, Feb 1, 2012 at 2:29 PM, Grant Likely <grant.likely at secretlab.ca> wrote:
> On Wed, Feb 1, 2012 at 2:16 PM, Benjamin Herrenschmidt
> <benh at kernel.crashing.org> wrote:
>> On Wed, 2012-02-01 at 11:31 -0700, Grant Likely wrote:
>>> The original function also creates a MODALIAS property for the
>>> compatible
>>> list, but that code has not been generalized into the common case
>>> because
>>> it has the potential to break module loading on a lot of bus types.
>>> Bus
>>> types are still responsible for their own MODALIAS properties.
>>>
>>> Boot tested on ARM and compile tested on PowerPC and SPARC.
>>>
>>>
>> We also want to generalize adding the devspec property that we have on
>> PCI to all devices no ?
>
> The pci_show_devspec() function?  Yeah, that can be generalized, but
> haven't researched where the best place to hook it in should be.

Is there any point in generalizing that attribute though when the data
is in uevent?

g.


More information about the devicetree-discuss mailing list