diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-10-30 21:50:49 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-31 12:42:38 -0700 |
commit | 1c12493809924deda6c0834cb2f2c5a6dc786390 (patch) | |
tree | 76fd0cff3a2ea714aab8102d1beecf02cc74438b /drivers/net/appletalk | |
parent | 6d71ec6cbf74ac9c2823ef751b1baa5b889bb3ac (diff) |
net: hns3: bugfix for hclge_mdio_write and hclge_mdio_read
When there is a PHY, the driver needs to complete some operations through
MDIO during reset reinitialization, so HCLGE_STATE_CMD_DISABLE is more
suitable than HCLGE_STATE_RST_HANDLING to prevent the MDIO operation from
being sent during the hardware reset.
Fixes: b50ae26c57cb ("net: hns3: never send command queue message to IMP when reset)
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions