diff options
author | Jian Shen <shenjian15@huawei.com> | 2023-11-10 17:37:09 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-13 09:06:58 +0000 |
commit | 75b247b57d8b71bcb679e4cb37d0db104848806c (patch) | |
tree | 9d08417e70cc2e9944f4bed2b73eee45dc77fad0 /drivers/spi/spi-fsl-cpm.c | |
parent | ac92c0a9a0603fb448e60f38e63302e4eebb8035 (diff) |
net: hns3: fix incorrect capability bit display for copper port
Currently, the FEC capability bit is default set for device version V2.
It's incorrect for the copper port. Eventhough it doesn't make the nic
work abnormal, but the capability information display in debugfs may
confuse user. So clear it when driver get the port type inforamtion.
Fixes: 433ccce83504 ("net: hns3: use FEC capability queried from firmware")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spi-fsl-cpm.c')
0 files changed, 0 insertions, 0 deletions