linux/drivers/net/dsa/mv88e6xxx
Vivien Didelot 812289960f net: dsa: mv88e6xxx: use 4-bit port for PVT data
The Cross-chip Port Based VLAN Table (PVT) supports two indexing modes,
one using 5-bit for device and 4-bit for port, the other using 4-bit for
device and 5-bit for port, configured via the Global 2 Misc register.

Only 4 bits for the source port are needed when interconnecting 88E6xxx
switch devices since they all support less than 16 physical ports. The
full 5 bits are needed when interconnecting a device with 98DXxxx switch
devices since they support more than 16 physical ports.

Add a mv88e6xxx_pvt_setup helper to set the 4-bit port PVT mode, which
will be extended later to also initialize the PVT content.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-01 12:22:57 -07:00
..
chip.c net: dsa: mv88e6xxx: use 4-bit port for PVT data 2017-04-01 12:22:57 -07:00
global1_atu.c net: dsa: mv88e6xxx: debug ATU Age Time 2017-03-30 15:35:23 -07:00
global1.c net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00
global1.h net: dsa: fix copyright holder 2017-03-28 22:04:51 -07:00
global2.c net: dsa: mv88e6xxx: use 4-bit port for PVT data 2017-04-01 12:22:57 -07:00
global2.h net: dsa: mv88e6xxx: use 4-bit port for PVT data 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 ATU ageing time setter 2017-03-12 23:54:05 -07:00
mv88e6xxx.h net: dsa: mv88e6xxx: use 4-bit port for PVT data 2017-04-01 12:22:57 -07: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