]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:41 +0000 (08:17 +0200)
commit1bb6744cafe3a5fa1cc67e85f84709e0745df79c
treede73c6f311bf029f405d55d1daa97fdc37f2751d
parent117792876898819d9fb56708afa66cfb9dc187db
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