OSDN Git Service

net: dsa: Change DSA slave FDB API to be switchdev independent
[uclinux-h8/linux.git] / drivers / net / dsa / b53 / b53_priv.h
index 155a9c4..d417bca 100644 (file)
@@ -397,13 +397,11 @@ int b53_vlan_dump(struct dsa_switch *ds, int port,
                  struct switchdev_obj_port_vlan *vlan,
                  switchdev_obj_dump_cb_t *cb);
 int b53_fdb_prepare(struct dsa_switch *ds, int port,
-                   const struct switchdev_obj_port_fdb *fdb,
-                   struct switchdev_trans *trans);
+                   const unsigned char *addr, u16 vid);
 void b53_fdb_add(struct dsa_switch *ds, int port,
-                const struct switchdev_obj_port_fdb *fdb,
-                struct switchdev_trans *trans);
+                const unsigned char *addr, u16 vid);
 int b53_fdb_del(struct dsa_switch *ds, int port,
-               const struct switchdev_obj_port_fdb *fdb);
+               const unsigned char *addr, u16 vid);
 int b53_fdb_dump(struct dsa_switch *ds, int port,
                 struct switchdev_obj_port_fdb *fdb,
                 switchdev_obj_dump_cb_t *cb);