[PATCH] drivercore: Output common devicetree information in uevent

Grant Likely grant.likely at secretlab.ca
Thu Feb 2 08:29:35 EST 2012


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.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the devicetree-discuss mailing list