]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/dsa.h
net: dsa: pass bridge down to drivers
[karo-tx-linux.git] / include / net / dsa.h
index 26a0e86e611e8d3e76f726a6805a31464bcd63c8..1c845d7bf0b2d5979a34aa74e71ea30dd6513a17 100644 (file)
@@ -297,9 +297,8 @@ struct dsa_switch_driver {
         * Bridge integration
         */
        int     (*port_join_bridge)(struct dsa_switch *ds, int port,
-                                   u32 br_port_mask);
-       int     (*port_leave_bridge)(struct dsa_switch *ds, int port,
-                                    u32 br_port_mask);
+                                   struct net_device *bridge);
+       int     (*port_leave_bridge)(struct dsa_switch *ds, int port);
        int     (*port_stp_update)(struct dsa_switch *ds, int port,
                                   u8 state);