summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/lan9303_mdio.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-05-01 21:05:10 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-01 22:03:09 +0300
commit3cf3c8469f70d18f8bbcdf8361e62812ebc571cd (patch)
treecfbd12bbb9d50526dc301df669e48a1d01ea3cbb /drivers/net/dsa/lan9303_mdio.c
parent152afb9b45a8af4a93699a15925c392a28182a26 (diff)
downloadlinux-3cf3c8469f70d18f8bbcdf8361e62812ebc571cd.tar.xz
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/lan9303_mdio.c')
0 files changed, 0 insertions, 0 deletions