Re: [PATCH net-next 07/18] net: dsa: mv88e6xxx: move VTU VID accessors

2017-04-27 Thread Andrew Lunn
> @@ -1464,13 +1457,16 @@ static int _mv88e6xxx_vtu_loadpurge(struct > mv88e6xxx_chip *chip, > struct mv88e6xxx_vtu_entry *entry) > { > u16 op = GLOBAL_VTU_OP_VTU_LOAD_PURGE; > - u16 reg = 0; > int err; > > err = mv88e6xxx_g1_vtu_op_wait(c

[PATCH net-next 07/18] net: dsa: mv88e6xxx: move VTU VID accessors

2017-04-26 Thread Vivien Didelot
Add helpers to access the VTU VID register in the global1_vtu.c file. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/chip.c| 57 + drivers/net/dsa/mv88e6xxx/global1.h | 4 +++ drivers/net/dsa/mv88e6xxx/global1_vtu.c | 29 +