net: dsa: mv88e6171: Add support for hardware bridging
authorAndrew Lunn <andrew@lunn.ch>
Fri, 27 Mar 2015 01:36:43 +0000 (18:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 20:23:58 +0000 (13:23 -0700)
Wire up the common code for setting up hardware bridging
and access to the forwarding database.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6171.c

index e1700cd8badc50a127dc9a2e1addd1e3a2f740f2..18cfead83dc94851d4bedc0cfca6f8f0eaf43797 100644 (file)
@@ -431,6 +431,12 @@ struct dsa_switch_driver mv88e6171_switch_driver = {
 #endif
        .get_regs_len           = mv88e6xxx_get_regs_len,
        .get_regs               = mv88e6xxx_get_regs,
+       .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:mv88e6171");