aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch/e6000sw
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/etherswitch/e6000sw')
-rw-r--r--sys/dev/etherswitch/e6000sw/e6000sw.c6
-rw-r--r--sys/dev/etherswitch/e6000sw/e6000swreg.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/e6000sw/e6000sw.c b/sys/dev/etherswitch/e6000sw/e6000sw.c
index 7e9193f4ba47..248a13952d35 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;
@@ -571,6 +575,8 @@ e6000sw_attach(device_t dev)
}
for (child = OF_child(ports); child != 0; child = OF_peer(child)) {
+ if (!ofw_bus_node_status_okay(child))
+ continue;
err = e6000sw_parse_child_fdt(sc, child, &port);
if (err != 0) {
device_printf(sc->dev, "failed to parse DTS\n");
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