]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Fixes initialization of phy address from firmware
authorLipeng <lipeng321@huawei.com>
Tue, 19 Sep 2017 16:17:10 +0000 (17:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 23:06:49 +0000 (16:06 -0700)
commitd7ef1c2d108a86f8235c23759e96047542d697b3
tree9dffa24ecd0ee706c2865b93f48edb03c598ca2d
parent5582ce1a9d121664d60a49ce6715bd371ae6140f
net: hns3: Fixes initialization of phy address from firmware

Default phy address of every port is 0. Therefore, phy address for
each port need to be fetched from firmware and device initialized
with fetched non-default phy address.

Fixes: 6427264ef330 ("net: hns3: Add HNS3 Acceleration Engine &
Compatibility Layer Support")
Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c