diff options
| author | Andrew Halaney <[email protected]> | 2023-12-12 22:18:33 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-12-14 10:59:21 +0000 |
| commit | e23c0d21ce9234fbc31ece35663ababbb83f9347 (patch) | |
| tree | 149a7e65a573b1ac6baeb1d11bd9e85376fd9db5 /tools/perf/scripts/python/gecko.py | |
| parent | net: stmmac: dwmac-qcom-ethqos: Fix drops in 10M SGMII RX (diff) | |
| download | kernel-e23c0d21ce9234fbc31ece35663ababbb83f9347.tar.gz kernel-e23c0d21ce9234fbc31ece35663ababbb83f9347.zip | |
net: stmmac: Handle disabled MDIO busses from devicetree
Many hardware configurations have the MDIO bus disabled, and are instead
using some other MDIO bus to talk to the MAC's phy.
of_mdiobus_register() returns -ENODEV in this case. Let's handle it
gracefully instead of failing to probe the MAC.
Fixes: 47dd7a540b8a ("net: add support for STMicroelectronics Ethernet controllers.")
Signed-off-by: Andrew Halaney <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Link: https://lore.kernel.org/r/20231212-b4-stmmac-handle-mdio-enodev-v2-1-600171acf79f@redhat.com
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
