diff options
| author | 2024-11-08 17:57:05 -0800 | |
|---|---|---|
| committer | 2024-11-13 19:54:58 -0800 | |
| commit | 16220cb315a0a10d2a003d9af534988686e675ea (patch) | |
| tree | 1eee16301266317ab6015e9860d2fa19f544d965 /drivers/net/dsa/microchip/ksz_common.h | |
| parent | dt-bindings: net: dsa: microchip: Add LAN9646 switch support (diff) | |
| download | wireguard-linux-16220cb315a0a10d2a003d9af534988686e675ea.tar.xz wireguard-linux-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 'drivers/net/dsa/microchip/ksz_common.h')
| -rw-r--r-- | drivers/net/dsa/microchip/ksz_common.h | 1 |
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 { |
