]> git.baikalelectronics.ru Git - uboot.git/commit
net: macb: Fixed reading MII_LPA register
authorRadu Pirea <radu_nicolae.pirea@upb.ro>
Fri, 7 Jun 2019 11:18:35 +0000 (14:18 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jul 2019 18:32:26 +0000 (13:32 -0500)
commitfd060b1fac9c599ac8a1b797c441a6ab2da29611
tree8fac39384ffc3f88edb8252bc68d01738f758a1a
parentc2642dd21a11d86187c2b60c49847c84db07c3cb
net: macb: Fixed reading MII_LPA register

If macb is gem and is gigabit capable, lpa value is not read from
the right register(MII_LPA) and is read from MII_STAT1000. This patch
fixes reading of the lpa value.

Signed-off-by: Radu Pirea <radu_nicolae.pirea@upb.ro>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c