diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-02-26 21:16:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-02 00:24:52 +0300 |
commit | 2db9ce1fd9a34ea560ff120bf763007ddf99c7bb (patch) | |
tree | dc8dfb653918ec6399550b99855b9aa2d07f5c95 /drivers/net/dsa/mv88e6xxx.h | |
parent | 3285f9e8695b26b1e15a58f21aff21087a7e7555 (diff) | |
download | linux-2db9ce1fd9a34ea560ff120bf763007ddf99c7bb.tar.xz |
net: dsa: mv88e6xxx: assign default FDB to ports
Restore per-port FDB. Assign them on setup, allow adding and deleting
addresses into them, and dump them.
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, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx.h index 9df331e85bf8..85a416620f7c 100644 --- a/drivers/net/dsa/mv88e6xxx.h +++ b/drivers/net/dsa/mv88e6xxx.h @@ -133,7 +133,9 @@ #define PORT_CONTROL_STATE_LEARNING 0x02 #define PORT_CONTROL_STATE_FORWARDING 0x03 #define PORT_CONTROL_1 0x05 +#define PORT_CONTROL_1_FID_11_4_MASK (0xff << 0) #define PORT_BASE_VLAN 0x06 +#define PORT_BASE_VLAN_FID_3_0_MASK (0xf << 12) #define PORT_DEFAULT_VLAN 0x07 #define PORT_DEFAULT_VLAN_MASK 0xfff #define PORT_CONTROL_2 0x08 |