diff options
author | Rafał Miłecki <[email protected]> | 2021-10-02 19:58:11 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-05 11:38:37 +0100 |
commit | b5375509184dc23d2b7fa0c5ed8763899ccc9674 (patch) | |
tree | e9242f762b8ebc1e7b5e21b3be6291bb19435a36 /tools/perf/scripts/python/flamegraph.py | |
parent | ceca777dabc6ea25e13fae6498c27e187a69be0e (diff) |
net: bgmac: improve handling PHY
1. Use info from DT if available
It allows describing for example a fixed link. It's more accurate than
just guessing there may be one (depending on a chipset).
2. Verify PHY ID before trying to connect PHY
PHY addr 0x1e (30) is special in Broadcom routers and means a switch
connected as MDIO devices instead of a real PHY. Don't try connecting to
it.
Signed-off-by: Rafał Miłecki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions