]> git.sur5r.net Git - u-boot/commit
UEC FIXED PHY: Determine fixed-phy port using UEC interface name.
authorRichard Retanubun <RichardRetanubun@RuggedCom.com>
Wed, 1 Jul 2009 18:04:05 +0000 (14:04 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 10 Aug 2009 23:07:54 +0000 (16:07 -0700)
commit1443cd7e54d6893ab7cc51d93fe7759cdaa8b31f
treed7efec9d188cedc1e7f319381936f3df4abbfe12
parent1a9519373b977ef3f7c9563ad3acb6c6f2424657
UEC FIXED PHY: Determine fixed-phy port using UEC interface name.

Fixed a misunderstanding in the original implementation, 'devnum' that
was used in the cpu/ppc4xx/4xx_enet.c implementation was NOT the
PHY's SMI address, rather it was the number of the MAC interface on
the CPU. The equivalent of this for uec_phy will be the UEC number
stored in mii_info->dev->name. Usage example is updated for uec.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/qe/uec_phy.c