commit | cec8abba13e6a26729dfed41019720068eeeff2b | [log] [tgz] |
---|---|---|
author | Yonglong Liu <liuyonglong@huawei.com> | Sat Jan 26 17:18:27 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 27 23:01:56 2019 -0800 |
tree | ac07348ea2f6ac740f8d7a65cfc867643e152bad | |
parent | ed29ca8b9592562559c64d027fb5eb126e463e2c [diff] |
net: hns: Fix wrong read accesses via Clause 45 MDIO protocol When reading phy registers via Clause 45 MDIO protocol, after write address operation, the driver use another write address operation, so can not read the right value of any phy registers. This patch fixes it. Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>