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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 20 Jun 2013 11:22:55 +0000
From:	Alexey Brodkin <Alexey.Brodkin@...opsys.com>
To:	Florian Fainelli <florian@...nwrt.org>
CC:	Andy Shevchenko <andy.shevchenko@...il.com>,
	netdev <netdev@...r.kernel.org>,
	Francois Romieu <romieu@...zoreil.com>,
	Joe Perches <joe@...ches.com>,
	Vineet Gupta <Vineet.Gupta1@...opsys.com>,
	Mischa Jonker <Mischa.Jonker@...opsys.com>,
	Arnd Bergmann <arnd@...db.de>,
	Grant Likely <grant.likely@...aro.org>,
	Rob Herring <rob.herring@...xeda.com>,
	"Paul Gortmaker" <paul.gortmaker@...driver.com>,
	"David S. Miller" <davem@...emloft.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Devicetree Discuss <devicetree-discuss@...ts.ozlabs.org>
Subject: Re: [PATCH v5] ethernet/arc/arc_emac - Add new driver

On 06/20/2013 02:37 PM, Florian Fainelli wrote:
> 2013/6/20 Alexey Brodkin <Alexey.Brodkin@...opsys.com>:
>> On 06/20/2013 01:57 PM, Florian Fainelli wrote:
>>> 2013/6/20 Alexey Brodkin <Alexey.Brodkin@...opsys.com>:
[]

> No, it would be c0fc2000, which is, so we are just fine. Drivers that
> support DT instantiation or platform_device/driver should in general
> use <pdev->name>-<pdev->id> which works fine in both cases.
Ok, I see now.

"pdev->name" indeed leads to "bus->id" = "c0fc2000.etherne".
Initially I thought about "pdev->dev.of_node->name" because I passed 
"pdev->dev.of_node" to "arc_mdio_probe".

Thanks for clarification.

-Alexey
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ