net: hns: add phy_attached_info() to the hns driver
authorYonglong Liu <liuyonglong@huawei.com>
Sat, 17 Aug 2019 02:21:17 +0000 (10:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Aug 2019 21:21:59 +0000 (14:21 -0700)
commit20e79a0a2cfd15b6cfb18119f2e108396be56716
tree940cfedc05fb1b550fba3e7a3fa12952e630b377
parent296c9120752bab93151bd7220896dd302683a91c
net: hns: add phy_attached_info() to the hns driver

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

Suggested-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c