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


Groups > linux.kernel > #1447508

[PATCH net-next v2 0/3] net: dsa: mv88e6xxx: rework EEPROM code

From Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Newsgroups linux.kernel
Subject [PATCH net-next v2 0/3] net: dsa: mv88e6xxx: rework EEPROM code
Date 2016-07-21 00:20 +0200
Message-ID <rX80p-7jq-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Changes in v2:
  - add missing Signed-off-by tag

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

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


Thread

[PATCH net-next v2 0/3] net: dsa: mv88e6xxx: rework EEPROM code Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-21 00:20 +0200
  [PATCH net-next v2 3/3] net: dsa: mv88e6xxx: kill last locked reg_read Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-21 00:20 +0200
    Re: [PATCH net-next v2 3/3] net: dsa: mv88e6xxx: kill last locked  reg_read Andrew Lunn <andrew@lunn.ch> - 2016-07-21 02:50 +0200
  [PATCH net-next v2 2/3] net: dsa: mv88e6xxx: rework EEPROM access Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-21 00:30 +0200
    Re: [PATCH net-next v2 2/3] net: dsa: mv88e6xxx: rework EEPROM access Andrew Lunn <andrew@lunn.ch> - 2016-07-21 02:50 +0200
  Re: [PATCH net-next v2 0/3] net: dsa: mv88e6xxx: rework EEPROM code David Miller <davem@davemloft.net> - 2016-07-21 06:20 +0200

csiph-web