On Thu, Jul 09, 2015 at 10:53:23AM +0200, Paul Bolle wrote: > On di, 2015-07-07 at 20:38 -0700, Guenter Roeck wrote: > > --- a/drivers/net/dsa/mv88e6352.c > > +++ b/drivers/net/dsa/mv88e6352.c > > > -MODULE_ALIAS("platform:mv88e6352"); > > MODULE_ALIAS("platform:mv88e6172"); > > +MODULE_ALIAS("platform:mv88e6176"); > > +MODULE_ALIAS("platform:mv88e6320"); > > +MODULE_ALIAS("platform:mv88e6321"); > > +MODULE_ALIAS("platform:mv88e6352"); > > Naive question: there are quite a few similar MODULE_ALIAS() macros in > drivers/net/dsa. That is, macros using "platform:mv88e6[...]". But I > couldn't find the struct platform_device's that would, in short, fire > off the corresponding "MODALIAS=platform:mv88e6[...]" uevent when > they're created. Where should I look for those struct platform_device's? > Good question. The devices are instantiated from the dsa driver (net/dsa/dsa.c). I don't really know if the above aliases serve a practical purpose. Does anyone else know ?
Guenter -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html