summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorDavid Yang <mmyangfl@gmail.com>2026-09-23 10:19:35 +0800
committerJakub Kicinski <kuba@kernel.org>2026-09-25 17:15:23 -0700
commit07b60e1bf4a1e41b4def32882f9ad6fa002682fb (patch)
tree8af6cacb9ef1698d9190270b3e20f37423ad0d3f /tools/lib/python/kdoc/python_version.py
parent605597aff80348308e8145817b840a4bc50db85f (diff)
net: dsa: motorcomm: Identify port type at runtime
The yt921x_port_is_internal/external() macros hardcoded the port layout: they treat ports 8 and 9 as external on every chip and count the dummy ports as internal. Identify the actual port capabilities using chip info and track configuration of external ports (although only SerDes is supported now). This is a hardening and cleanup step ahead of the SerDes PCS support, no behavior changes intended. Signed-off-by: David Yang <mmyangfl@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20260923021945.2203368-4-mmyangfl@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions