diff options
author | Michael Sit Wei Hong <michael.wei.hong.sit@intel.com> | 2023-03-30 17:14:03 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-31 09:23:41 +0100 |
commit | fe2cfbc9680356a3d9f8adde8a38e715831e32f5 (patch) | |
tree | 0fa58f18b101464464cd91f808da8a4cbcf25476 /tools/perf/scripts/python/syscall-counts.py | |
parent | 653a180957a85c3fc30320cc7e84f5dc913a64f8 (diff) |
net: stmmac: check if MAC needs to attach to a PHY
After the introduction of the fixed-link support, the MAC driver
no longer attempt to scan for a PHY to attach to. This causes the
non fixed-link setups to stop working.
Using the phylink_expects_phy() to check and determine if the MAC
should expect and attach a PHY.
Fixes: ab21cf920928 ("net: stmmac: make mdio register skips PHY scanning for fixed-link")
Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: Lai Peter Jun Ann <peter.jun.ann.lai@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions