]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: sja1105: keep the VLAN awareness state in a driver variable
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 12 May 2020 17:20:27 +0000 (20:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2020 20:08:07 +0000 (13:08 -0700)
commit7f14937facdca1e0da1bacfacd089bcf4271e75a
treecd7cca84bcb1583907e0c12e4c82cd4ff67a75ab
parent1f66b0f0aec671f8fbc86d75b2efdf7c7e0f7880
net: dsa: sja1105: keep the VLAN awareness state in a driver variable

Soon we'll add a third operating mode to the driver. Introduce a
vlan_state to make things more easy to manage, and use it where
applicable.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105.h
drivers/net/dsa/sja1105/sja1105_main.c
drivers/net/dsa/sja1105/sja1105_vl.c