summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArun Ramadoss <arun.ramadoss@microchip.com>2022-06-17 11:42:46 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-06-21 16:26:44 +0300
commit91a98917a8839923d404a77c21646ca5fc9e330a (patch)
tree924903e73a157de45f086967859992663e1759a3 /include
parent27faa0aa85f6696d411bbbebaed9f0f723c2a175 (diff)
downloadlinux-91a98917a8839923d404a77c21646ca5fc9e330a.tar.xz
net: dsa: microchip: move switch chip_id detection to ksz_common
KSZ87xx and KSZ88xx have chip_id representation at reg location 0. And KSZ9477 compatible switch and LAN937x switch have same chip_id detection at location 0x01 and 0x02. To have the common switch detect functionality for ksz switches, ksz_switch_detect function is introduced. Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions