]> git.sur5r.net Git - u-boot/commit
net: lpc32xx: connect MAC to phy with CONFIG_PHY_ADDR id
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 29 Jun 2015 00:35:12 +0000 (03:35 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Aug 2015 18:38:51 +0000 (13:38 -0500)
commitfe0596cac3079a74eeee93e2940010a7a158c58d
tree442d4b55f5e7e6808e82f9e64005c3357d59827b
parent6e039b4c624e293fb86710efd12a17afe268d6e9
net: lpc32xx: connect MAC to phy with CONFIG_PHY_ADDR id

The lpc32xx_eth_phylib_init() function is capable to connect LPC32XX
MAC to some specified phy by phy id, by chance the single user of
lpc32xx_eth has CONFIG_PHY_ADDR set to 0, however other boards may
have non-zero CONFIG_PHY_ADDR value, fix it.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/lpc32xx_eth.c