aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_common.h
diff options
context:
space:
mode:
authorTristram Ha <[email protected]>2024-11-09 01:57:05 +0000
committerJakub Kicinski <[email protected]>2024-11-14 03:54:58 +0000
commit16220cb315a0a10d2a003d9af534988686e675ea (patch)
tree1eee16301266317ab6015e9860d2fa19f544d965 /drivers/net/dsa/microchip/ksz_common.h
parentdt-bindings: net: dsa: microchip: Add LAN9646 switch support (diff)
downloadkernel-16220cb315a0a10d2a003d9af534988686e675ea.tar.gz
kernel-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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
-rw-r--r--drivers/net/dsa/microchip/ksz_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h
index bbb548af201e..b3bb75ca0796 100644
--- a/drivers/net/dsa/microchip/ksz_common.h
+++ b/drivers/net/dsa/microchip/ksz_common.h
@@ -236,6 +236,7 @@ enum ksz_model {
LAN9372,
LAN9373,
LAN9374,
+ LAN9646,
};
enum ksz_regs {