Re: [PATCH v3 net-next v3 08/14] net: dsa: mv88e6xxx: rename smi_mutex to reg_lock

2016-06-18 Thread Andrew Lunn
On Fri, Jun 17, 2016 at 08:07:30PM -0400, Vivien Didelot wrote: > The chip smi_mutex mutex is used to protect the access to the internal > switch registers, not only the Multi-chip Addressing Mode, as commented. > > Other registers access (like management frames) may use this mutex. > > Since we

[PATCH v3 net-next v3 08/14] net: dsa: mv88e6xxx: rename smi_mutex to reg_lock

2016-06-17 Thread Vivien Didelot
The chip smi_mutex mutex is used to protect the access to the internal switch registers, not only the Multi-chip Addressing Mode, as commented. Other registers access (like management frames) may use this mutex. Since we will isolate SMI-specific pieces of code, avoid the confusion now by