Re: [PATCH net-next] net: dsa: mv88e6xxx: read then write PVID

2016-03-10 Thread David Miller
From: Vivien Didelot Date: Mon, 7 Mar 2016 18:24:39 -0500 > The port register 0x07 contains more options than just the default VID, > even though they are not used yet. So prefer a read then write operation > over a direct write. > > This also allows to keep track of the change through dynamic

Re: [PATCH net-next] net: dsa: mv88e6xxx: read then write PVID

2016-03-08 Thread Andrew Lunn
On Mon, Mar 07, 2016 at 06:24:39PM -0500, Vivien Didelot wrote: > The port register 0x07 contains more options than just the default VID, > even though they are not used yet. So prefer a read then write operation > over a direct write. > > This also allows to keep track of the change through dynam

[PATCH net-next] net: dsa: mv88e6xxx: read then write PVID

2016-03-07 Thread Vivien Didelot
The port register 0x07 contains more options than just the default VID, even though they are not used yet. So prefer a read then write operation over a direct write. This also allows to keep track of the change through dynamic debug. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c