netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: dsa: mv88e6xxx: rework EEPROM code
@ 2016-07-20 16:05 Vivien Didelot
  2016-07-20 16:05 ` [PATCH net-next 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex Vivien Didelot
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vivien Didelot @ 2016-07-20 16:05 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Andrew Lunn,
	Florian Fainelli, Vivien Didelot

Some switches can access an optional external EEPROM via its registers.

The 88E6352 family of switches have 8-bit address / 16-bit data access.
The new 88E6390 family has 16-bit address / 8-bit data access.

This patchset cleans up the EEPROM code with 16-suffixed Global2 helpers
and makes it easy to add future support for 8-bit data EEPROM access.

It also removes unnecessary mutexes and a few locked access functions.

Vivien Didelot (3):
  net: dsa: mv88e6xxx: remove unused phy_mutex
  net: dsa: mv88e6xxx: rework EEPROM access
  net: dsa: mv88e6xxx: kill last locked reg_read

 drivers/net/dsa/mv88e6xxx/chip.c      | 518 ++++++++++++++++------------------
 drivers/net/dsa/mv88e6xxx/mv88e6xxx.h |  45 ++-
 2 files changed, 258 insertions(+), 305 deletions(-)

-- 
2.9.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-20 21:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20 16:05 [PATCH net-next 0/3] net: dsa: mv88e6xxx: rework EEPROM code Vivien Didelot
2016-07-20 16:05 ` [PATCH net-next 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex Vivien Didelot
2016-07-20 21:57   ` David Miller
2016-07-20 16:05 ` [PATCH net-next 2/3] net: dsa: mv88e6xxx: rework EEPROM access Vivien Didelot
2016-07-20 16:05 ` [PATCH net-next 3/3] net: dsa: mv88e6xxx: kill last locked reg_read Vivien Didelot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).