summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/microchip/ksz9477_reg.h
diff options
context:
space:
mode:
authorArun Ramadoss <arun.ramadoss@microchip.com>2022-06-17 14:12:46 +0530
committerPaolo Abeni <pabeni@redhat.com>2022-06-21 15:26:44 +0200
commit91a98917a8839923d404a77c21646ca5fc9e330a (patch)
tree924903e73a157de45f086967859992663e1759a3 /drivers/net/dsa/microchip/ksz9477_reg.h
parent27faa0aa85f6696d411bbbebaed9f0f723c2a175 (diff)
downloadlinux-next-91a98917a8839923d404a77c21646ca5fc9e330a.tar.gz
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 'drivers/net/dsa/microchip/ksz9477_reg.h')
-rw-r--r--drivers/net/dsa/microchip/ksz9477_reg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz9477_reg.h b/drivers/net/dsa/microchip/ksz9477_reg.h
index 7a2c8d4767af..077e35ab11b5 100644
--- a/drivers/net/dsa/microchip/ksz9477_reg.h
+++ b/drivers/net/dsa/microchip/ksz9477_reg.h
@@ -25,7 +25,6 @@
#define REG_CHIP_ID2__1 0x0002
-#define CHIP_ID_63 0x63
#define CHIP_ID_66 0x66
#define CHIP_ID_67 0x67
#define CHIP_ID_77 0x77