]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mv88r6xxx-eeprom-rework'
authorDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2016 04:10:55 +0000 (21:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2016 04:10:55 +0000 (21:10 -0700)
commit3f63030dab19d5e063478bf8bf47b30a4f2e9e4a
tree7479fb5f7ca42aaa2c421887de598b9570b902d4
parentc3d792ec55906c4fe0d3c37727cef156c101a74a
parent79edd3c7cec90e8dd58e95587501062c2d928837
Merge branch 'mv88r6xxx-eeprom-rework'

Vivien Didelot says:

====================
net: dsa: mv88e6xxx: rework EEPROM code

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>