diff options
author | Fuyun Liang | 2017-11-03 05:18:30 +0100 |
---|---|---|
committer | David S. Miller | 2017-11-03 13:36:50 +0100 |
commit | 439adf885e6dd3b2a64941a167b4c18d3728c6dc (patch) | |
tree | 43d57e29a673bda35eb596eb45c804aaaf0b954f /scripts/checkstack.pl | |
parent | net: hns3: add support for nway_reset (diff) | |
download | kernel-qcow2-linux-439adf885e6dd3b2a64941a167b4c18d3728c6dc.tar.gz kernel-qcow2-linux-439adf885e6dd3b2a64941a167b4c18d3728c6dc.tar.xz kernel-qcow2-linux-439adf885e6dd3b2a64941a167b4c18d3728c6dc.zip |
net: hns3: fix a bug for phy supported feature initialization
This patch fixes a bug for phy supported feature initialization.
Currently, the value of phydev->supported is initialized by kernel.
So it includes many features that we do not support, such as
SUPPORTED_FIBRE and SUPPORTED_BNC. This patch fixes it.
Fixes: 256727d (net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC)
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions