summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2024-02-09 08:03:43 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-12 13:42:17 +0300
commit8685c98d45c54346caf005de69988e13c731c533 (patch)
treea9ce8b967b7e35479aa81eb224cd21ddd35585f5 /tools/perf/scripts/python/export-to-postgresql.py
parent98b75c1c149c653ad11a440636213eb070325158 (diff)
downloadlinux-8685c98d45c54346caf005de69988e13c731c533.tar.xz
net: dsa: realtek: get internal MDIO node by name
The binding docs requires for SMI-connected devices that the switch must have a child node named "mdio" and with a compatible string of "realtek,smi-mdio". Meanwile, for MDIO-connected switches, the binding docs only requires a child node named "mdio". This patch changes the driver to use the common denominator for both interfaces, looking for the MDIO node by name, ignoring the compatible string. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions