mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 15:13:52 +00:00
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>
This commit is contained in:
parent
296c912075
commit
20e79a0a2c
@ -1182,6 +1182,8 @@ int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h)
|
||||
if (unlikely(ret))
|
||||
return -ENODEV;
|
||||
|
||||
phy_attached_info(phy_dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user