commit | 74ba23a1d24934191f628a8d60dbbf437a4d0ba6 | [log] [tgz] |
---|---|---|
author | Guangbin Huang <huangguangbin2@huawei.com> | Sun Sep 27 15:12:42 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 27 13:25:22 2020 -0700 |
tree | 3d88f25721e3af4df8219c93c22df09ab275c456 | |
parent | ca850f2b0ecbb24f03a706d4d11203565030570a [diff] |
net: hns3: use capability flag to indicate FEC Currently, the revision of the pci device is used to identify whether FEC is supported, which is not good for maintainability and compatibility. So use a capability flag to do that. Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>