diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2024-04-17 22:50:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-22 14:21:32 -0700 |
commit | 12af94b2955fa74548001624839aadce505fe957 (patch) | |
tree | 327bb52853d41a2a3b4018b6de4b4db84451baf3 /tools/testing/selftests/net/lib/py/utils.py | |
parent | 21fc3416ea11ee1ce1b0eac56ed7d79d976a0eec (diff) |
net: dsa: vsc73xx: use macros for rgmii recognition
It's preparation for future use. At this moment, the RGMII port is used
only for a connection to the MAC interface, but in the future, someone
could connect a PHY to it. Using the "phy_interface_mode_is_rgmii" macro
allows for the proper recognition of all RGMII modes.
Suggested-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20240417205048.3542839-4-paweldembicki@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions