diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-08-10 09:09:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-11 12:03:19 -0700 |
commit | 2a778e1b58990e15de5cba4badec1fa7ecb87e80 (patch) | |
tree | 574827e465061bb9ca63255176b756fc13e3a60f /drivers/net/dsa/mv88e6xxx.h | |
parent | c5723ac51f2a1eaa69d831b919129a3c2b7efeee (diff) | |
download | lwn-2a778e1b58990e15de5cba4badec1fa7ecb87e80.tar.gz lwn-2a778e1b58990e15de5cba4badec1fa7ecb87e80.zip |
net: dsa: change FDB routines prototypes
Change the prototype of port_getnext to include a vid parameter.
This is necessary to introduce the support for VLAN.
Also rename the fdb_{add,del,getnext} function pointers to
port_fdb_{add,del,getnext} since they are specific to a given port.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx.h index 200327b7ea7d..55a6190ce159 100644 --- a/drivers/net/dsa/mv88e6xxx.h +++ b/drivers/net/dsa/mv88e6xxx.h @@ -421,7 +421,7 @@ int mv88e6xxx_port_fdb_add(struct dsa_switch *ds, int port, int mv88e6xxx_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid); int mv88e6xxx_port_fdb_getnext(struct dsa_switch *ds, int port, - unsigned char *addr, bool *is_static); + unsigned char *addr, u16 *vid, bool *is_static); int mv88e6xxx_phy_page_read(struct dsa_switch *ds, int port, int page, int reg); int mv88e6xxx_phy_page_write(struct dsa_switch *ds, int port, int page, int reg, int val); |