commit | 0c963e8c20ce368ddedc22cbfa710315d715dfae | [log] [tgz] |
---|---|---|
author | Fuyun Liang <liangfuyun1@huawei.com> | Tue May 01 19:56:02 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue May 01 15:08:37 2018 -0400 |
tree | a7782610ae139f95e6224db83bf327536ae4fd28 | |
parent | c5ef83cbb1e9fa17a3b78fb2deb25ae8beebbf48 [diff] |
net: hns3: Fix to support autoneg only for port attached with phy This patch adds a check to support autoneg(ethtool -A) only when PHY is attached with the port. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>