git: 680e6e30c020 - main - etherswitch: Add minimal support for mv88e6170 switch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Apr 2026 22:39:52 UTC
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=680e6e30c02019c2a18c2ecfef3723b9adaa9ce5
commit 680e6e30c02019c2a18c2ecfef3723b9adaa9ce5
Author: Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2026-04-16 22:35:32 +0000
Commit: Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2026-04-16 22:35:32 +0000
etherswitch: Add minimal support for mv88e6170 switch
---
sys/dev/etherswitch/e6000sw/e6000sw.c | 4 ++++
sys/dev/etherswitch/e6000sw/e6000swreg.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/sys/dev/etherswitch/e6000sw/e6000sw.c b/sys/dev/etherswitch/e6000sw/e6000sw.c
index 7e9193f4ba47..771e64868740 100644
--- a/sys/dev/etherswitch/e6000sw/e6000sw.c
+++ b/sys/dev/etherswitch/e6000sw/e6000sw.c
@@ -302,6 +302,10 @@ e6000sw_probe(device_t dev)
description = "Marvell 88E6352";
sc->num_ports = 7;
break;
+ case MV88E6171:
+ description = "Marvell 88E6171";
+ sc->num_ports = 7;
+ break;
case MV88E6172:
description = "Marvell 88E6172";
sc->num_ports = 7;
diff --git a/sys/dev/etherswitch/e6000sw/e6000swreg.h b/sys/dev/etherswitch/e6000sw/e6000swreg.h
index ec4503faeec5..aef79ad9de5d 100644
--- a/sys/dev/etherswitch/e6000sw/e6000swreg.h
+++ b/sys/dev/etherswitch/e6000sw/e6000swreg.h
@@ -45,6 +45,7 @@ struct atu_opt {
#define MV88E6341 0x3410
#define MV88E6352 0x3520
#define MV88E6172 0x1720
+#define MV88E6171 0x1710
#define MV88E6176 0x1760
#define MV88E6190 0x1900
#define MV88E6190X 0x0a00