commit | ce290247f9582555145f8f0474a441c8d58280ed | [log] [tgz] |
---|---|---|
author | Dongpo Li <lidongpo@hisilicon.com> | Mon Aug 22 21:03:29 2016 +0800 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Aug 22 14:21:23 2016 -0500 |
tree | 7edd6a690f784fd4559b18dd23cf3d73df649422 | |
parent | 05d0698f041d7a409b2f3e0abca4a9374e06303d [diff] |
net: mii: check phy advertising register when geting link status When phy autoneg on, the link speed and duplex should be determined by phy advertising register and phy link partner ability register. Check phy advertising register when geting phy link speed and duplex if autoneg on. Signed-off-by: Dongpo Li <lidongpo@hisilicon.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>