commit | 8c83c0303c0eaa5f5323d08ffe1f786759e509be | [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 | 05237f735e5f325e03db8ff153cb5266e337a2fe [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>