Re: [PATCH v2 net-next v2 04/12] net: dsa: mv88e6xxx: extract trunk mapping

2016-07-18 Thread Andrew Lunn
On Mon, Jul 18, 2016 at 02:46:20PM -0400, Vivien Didelot wrote: > The Trunk Mask and Trunk Mapping registers are two Global 2 indirect > accesses to trunking configuration. > > Add helpers for these tables and simplify the Global 2 setup. > > Signed-off-by: Vivien Didelot

[PATCH v2 net-next v2 04/12] net: dsa: mv88e6xxx: extract trunk mapping

2016-07-18 Thread Vivien Didelot
The Trunk Mask and Trunk Mapping registers are two Global 2 indirect accesses to trunking configuration. Add helpers for these tables and simplify the Global 2 setup. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/chip.c | 70