linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3pf
Fuyun Liang 27b5bf49f0 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: 46a3df9f97 ("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>
2017-12-27 10:41:38 -05:00
..
hclge_cmd.c net: hns3: Refactor the initialization of command queue 2017-11-02 21:28:35 +09:00
hclge_cmd.h net: hns3: add vlan offload config command 2017-12-27 10:41:05 -05:00
hclge_dcb.c net: hns3: Add mqprio hardware offload support in hns3 driver 2017-10-19 12:45:45 +01:00
hclge_dcb.h net: hns3: Add hclge_dcb module for the support of DCB feature 2017-09-28 10:35:12 -07:00
hclge_main.c net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg 2017-12-27 10:41:38 -05:00
hclge_main.h net: hns3: add vlan offload config command 2017-12-27 10:41:05 -05:00
hclge_mbx.c net: hns3: Change PF to add ring-vect binding & resetQ to mailbox 2017-12-15 10:55:35 -05:00
hclge_mdio.c net: hns3: fix a bug for phy supported feature initialization 2017-11-03 21:36:50 +09:00
hclge_mdio.h net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC 2017-08-03 15:08:17 -07:00
hclge_tm.c net: hns3: remove a couple of redundant assignments 2017-11-02 15:53:14 +09:00
hclge_tm.h net: hns3: Add some interface for the support of DCB feature 2017-09-28 10:35:11 -07:00
Makefile net: hns3: Add mailbox support to PF driver 2017-12-15 10:55:35 -05:00