aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/dsa/mv88e6xxx/global1.h
diff options
context:
space:
mode:
authorVivien Didelot2017-05-01 14:05:10 -0400
committerDavid S. Miller2017-05-01 15:03:09 -0400
commit3cf3c8469f70d18f8bbcdf8361e62812ebc571cd (patch)
treecfbd12bbb9d50526dc301df669e48a1d01ea3cbb /drivers/net/dsa/mv88e6xxx/global1.h
parent152afb9b45a8af4a93699a15925c392a28182a26 (diff)
net: dsa: mv88e6xxx: add max VID to info
Some chips don't have a VLAN Table Unit, most of them do have a 4K table, some others as the 88E6390 family has a 13th bit for the VID. Add a new max_vid member to the info structure, used to check the presence of a VTU as well as the value used to iterate from in VTU GetNext operations. This makes the MV88E6XXX_FLAG_VTU obsolete, thus remove it. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/global1.h')
0 files changed, 0 insertions, 0 deletions