]> git.dujemihanovic.xyz Git - u-boot.git/commit
NET: QE: UEC: Make uec_miiphy_read() and uec_miiphy_write() use the devname arg.
authorrichardretanubun <richardretanubun@ruggedcom.com>
Fri, 26 Sep 2008 12:59:12 +0000 (08:59 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 10 Nov 2008 05:38:02 +0000 (21:38 -0800)
commit0115b1953718a2969f6469d3d5da51ba11e12d42
tree530a567c3155beced9a5c682dbc76156031ac086
parent44dcb7332033db8de2810f2fffcae3084f15c8d4
NET: QE: UEC: Make uec_miiphy_read() and uec_miiphy_write() use the devname arg.

The current uec_miiphy_read and uec_miiphy_write hardcode access devlist[0]
This patch makes these function use the devname argument that is passed in to
allow access to the phy registers of other devices in devlist[].

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