net: hns3: add phy_attached_info() to the hns3 driver
authorYonglong Liu <liuyonglong@huawei.com>
Fri, 16 Aug 2019 08:09:42 +0000 (16:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Aug 2019 19:59:13 +0000 (12:59 -0700)
commit1bef61fc7eedf6ac341fd73574c85ae199ca9aae
tree4f6cafc881315bdae615a397e417013a87acd2ca
parent20981a1e6b708536493e10ba90016ae28a9f3749
net: hns3: add phy_attached_info() to the hns3 driver

This patch adds the call to phy_attached_info() to the hns3 driver
to identify which exact PHY drivers and models is in use.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c