HW bridging support for mv88e6131 and compatible chips is similar
to other chips of the series, so we can add support to it
by just setting the respective function vectors.

Signed-off-by: Guenter Roeck <li...@roeck-us.net>
---
 drivers/net/dsa/mv88e6131.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/net/dsa/mv88e6131.c b/drivers/net/dsa/mv88e6131.c
index 98a3668..60b8122 100644
--- a/drivers/net/dsa/mv88e6131.c
+++ b/drivers/net/dsa/mv88e6131.c
@@ -377,6 +377,12 @@ struct dsa_switch_driver mv88e6131_switch_driver = {
        .get_strings            = mv88e6131_get_strings,
        .get_ethtool_stats      = mv88e6131_get_ethtool_stats,
        .get_sset_count         = mv88e6131_get_sset_count,
+       .port_join_bridge       = mv88e6xxx_join_bridge,
+       .port_leave_bridge      = mv88e6xxx_leave_bridge,
+       .port_stp_update        = mv88e6xxx_port_stp_update,
+       .fdb_add                = mv88e6xxx_port_fdb_add,
+       .fdb_del                = mv88e6xxx_port_fdb_del,
+       .fdb_getnext            = mv88e6xxx_port_fdb_getnext,
 };
 
 MODULE_ALIAS("platform:mv88e6085");
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to