summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTristram Ha <tristram.ha@microchip.com>2024-11-08 17:57:05 -0800
committerJakub Kicinski <kuba@kernel.org>2024-11-13 19:54:58 -0800
commit16220cb315a0a10d2a003d9af534988686e675ea (patch)
tree1eee16301266317ab6015e9860d2fa19f544d965 /include/linux
parent3a371e10521de2e98f5e264a27b5af3d231b4261 (diff)
downloadlwn-16220cb315a0a10d2a003d9af534988686e675ea.tar.gz
lwn-16220cb315a0a10d2a003d9af534988686e675ea.zip
net: dsa: microchip: Add LAN9646 switch support to KSZ DSA driver
LAN9646 switch is a 6-port switch with functions like KSZ9897. It has 4 internal PHYs and 1 SGMII port. The chip id read from hardware is same as KSZ9477, so software driver needs to create a new chip id and group allowable functions under its chip data structure to differentiate the product. Signed-off-by: Tristram Ha <tristram.ha@microchip.com> Link: https://patch.msgid.link/20241109015705.82685-3-Tristram.Ha@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform_data/microchip-ksz.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/microchip-ksz.h b/include/linux/platform_data/microchip-ksz.h
index 2ee1a679e592..0e0e8fe6975f 100644
--- a/include/linux/platform_data/microchip-ksz.h
+++ b/include/linux/platform_data/microchip-ksz.h
@@ -42,6 +42,7 @@ enum ksz_chip_id {
LAN9372_CHIP_ID = 0x00937200,
LAN9373_CHIP_ID = 0x00937300,
LAN9374_CHIP_ID = 0x00937400,
+ LAN9646_CHIP_ID = 0x00964600,
};
struct ksz_platform_data {