mirror_ubuntu-kernels/drivers/net/dsa/mv88e6xxx
Vivien Didelot c499a64f34 net: dsa: mv88e6xxx: move VTU Data accessors
The code to access the VTU Data registers currently only supports the
88E6185 family and alike: 2-bit membership adjacent to 2-bit port state.

Even though the 88E6352 family introduced an indirect table to program
the VLAN Spanning Tree states, the usage of the VTU Data registers
remains the same regardless the VTU or STU operation.

Now that the mv88e6xxx_vtu_entry structure contains both port membership
and states data, factorize the code to access them in global1_vtu.c.

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>
2017-05-01 15:03:11 -04:00
..
chip.c net: dsa: mv88e6xxx: move VTU Data accessors 2017-05-01 15:03:11 -04:00
global1_atu.c net: dsa: mv88e6xxx: debug ATU Age Time 2017-03-30 15:35:23 -07:00
global1_vtu.c net: dsa: mv88e6xxx: move VTU Data accessors 2017-05-01 15:03:11 -04:00
global1.c net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00
global1.h net: dsa: mv88e6xxx: move VTU Data accessors 2017-05-01 15:03:11 -04:00
global2.c net: dsa: mv88e6xxx: Make SMI c22/c45 read/write functions static 2017-04-08 08:31:09 -07:00
global2.h net: dsa: mv88e6xxx: program the PVT with all ones 2017-04-01 12:22:57 -07:00
Kconfig net: dsa: mv88e6xxx: Select IRQ_DOMAIN 2016-11-18 13:54:22 -05:00
Makefile net: dsa: mv88e6xxx: move VTU Operation accessors 2017-05-01 15:03:09 -04:00
mv88e6xxx.h net: dsa: mv88e6xxx: split VTU entry data member 2017-05-01 15:03:09 -04:00
port.c net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00
port.h net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00