summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorTristram Ha <tristram.ha@microchip.com>2024-12-17 18:02:40 -0800
committerJakub Kicinski <kuba@kernel.org>2024-12-20 13:28:42 -0800
commit6ed3472173c575cd8aaed6c62eb74f7728404ee6 (patch)
tree9ce2e1e96518ca4110de86a7b5e6cab874603ccd /tools/testing/selftests/net/lib/py/utils.py
parent3272040790eb4b6cafe6c30ec05049e9599ec456 (diff)
downloadlinux-6ed3472173c575cd8aaed6c62eb74f7728404ee6.tar.gz
linux-6ed3472173c575cd8aaed6c62eb74f7728404ee6.tar.bz2
linux-6ed3472173c575cd8aaed6c62eb74f7728404ee6.zip
net: dsa: microchip: Do not execute PTP driver code for unsupported switches
The PTP driver code only works for certain KSZ switches like KSZ9477, KSZ9567, LAN937X and their varieties. This code is enabled by kernel configuration CONFIG_NET_DSA_MICROCHIP_KSZ_PTP. As the DSA driver is common to work with all KSZ switches this PTP code is not appropriate for other unsupported switches. The ptp_capable indication is added to the chip data structure to signal whether to execute those code. Signed-off-by: Tristram Ha <tristram.ha@microchip.com> Link: https://patch.msgid.link/20241218020240.70601-1-Tristram.Ha@microchip.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