mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-14 03:25:33 +07:00
![]() Driver gets phy address from NCL_config file and uses the phy address
to initialize phydev. There are 5 bits for phy address. And C22 phy
address has 5 bits. So 0-31 are all valid address for phy. If there
is no phy, it will crash. Because driver always get a valid phy address.
This patch fixes the phy address to 8 bits, and use 0xff to indicate
invalid phy address.
Fixes:
|
||
---|---|---|
.. | ||
hclge_cmd.c | ||
hclge_cmd.h | ||
hclge_dcb.c | ||
hclge_dcb.h | ||
hclge_main.c | ||
hclge_main.h | ||
hclge_mdio.c | ||
hclge_mdio.h | ||
hclge_tm.c | ||
hclge_tm.h | ||
hns3_dcbnl.c | ||
hns3_enet.c | ||
hns3_enet.h | ||
hns3_ethtool.c | ||
Makefile |