summaryrefslogtreecommitdiffstats
path: root/drivers/ide/cs5520.c
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2017-12-22 12:21:50 +0800
committerDavid S. Miller <davem@davemloft.net>2017-12-27 10:41:38 -0500
commit27b5bf49f0924fd62d2b1ef8467b40773973da34 (patch)
tree2e783efd45fad57ce38d21d27264a43c51e1c0a9 /drivers/ide/cs5520.c
parent492cd1db582d9e91c6db23a054bf63365ac84dc7 (diff)
downloadlinux-27b5bf49f0924fd62d2b1ef8467b40773973da34.tar.bz2
net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg
When phy exists, we use the value of phydev.autoneg to represent the auto-negotiation state of hardware. Otherwise, we use the value of mac.autoneg to represent it. This patch fixes for getting a error value of auto-negotiation state in hclge_get_autoneg(). Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/cs5520.c')
0 files changed, 0 insertions, 0 deletions