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: NMarek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Showing
想要评论请 注册 或 登录