Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425840

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

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH v3 net-next v3 08/14] net: dsa: mv88e6xxx: rename smi_mutex to reg_lock
Date 2016-06-18 22:30 +0200
Message-ID <rLv2q-uj-19@gated-at.bofh.it> (permalink)
References <rLbZM-54e-5@gated-at.bofh.it> <rLc9r-57u-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 will isolate SMI-specific pieces of code, avoid the confusion
> now by renaming smi_mutex to reg_lock. No functional changes here.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v3 net-next v3 08/14] net: dsa: mv88e6xxx: rename smi_mutex to reg_lock Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-06-18 02:20 +0200
  Re: [PATCH v3 net-next v3 08/14] net: dsa: mv88e6xxx: rename  smi_mutex to reg_lock Andrew Lunn <andrew@lunn.ch> - 2016-06-18 22:30 +0200

csiph-web