lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150709182625.GB788@roeck-us.net>
Date:	Thu, 9 Jul 2015 11:26:25 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	Paul Bolle <pebolle@...cali.nl>
Cc:	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
	Andrew Lunn <andrew@...n.ch>,
	Florian Fainelli <f.fainelli@...il.com>,
	linux-kernel@...r.kernel.org,
	"Aleksey S. Kazantsev" <ioctl@...dex.ru>
Subject: Re: [PATCH] dsa: mv88e6352/mv88e6xxx: Add support for Marvell
 88E6320 and 88E6321

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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ