diff options
author | Jian Shen <[email protected]> | 2019-04-14 09:47:44 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-04-14 13:47:35 -0700 |
commit | 2d0075b4a7b795bb6e6c4e392d36c023b0d0e858 (patch) | |
tree | 8218d827a8f118c3757f9ca3e2ab26dfc1850793 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c41e672d1e6a51b2b21a23ade4048b414ec76624 (diff) |
net: hns3: do not initialize MDIO bus when PHY is inexistent
For some cases, PHY may not be connected to MDIO bus, then
the driver will initialize fail since MDIO bus initialization
fails.
This patch fixes it by skipping the MDIO bus initialization
when PHY is inexistent.
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions