]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: ravb: Detect PHY correctly
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Jul 2017 21:20:34 +0000 (23:20 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 2 Aug 2017 19:26:25 +0000 (04:26 +0900)
commite821a7bdb13435eace82e907363dc59be56f139a
treed6a537a60336433ba4372a0f32247fcd977ab189
parent5ee8b4d7f5e52e2ace15ca6bfbb35593d908af0f
net: ravb: Detect PHY correctly

The order of parameters passed to the phy_connect() was wrong.
Moreover, only PHY address 0 was used. Replace this with code
capable of detecting the PHY address.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/net/ravb.c