net: dsa: mv88e6xxx: add EEPROM support to 6390
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 12 Jan 2017 23:07:16 +0000 (18:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Jan 2017 01:17:01 +0000 (20:17 -0500)
commit98fc3c6fa5cfda703e7be1af50fba82c168251de
treee4e1c4e701bbf70efc544ffca8f853e46812f7dc
parent717ac5ce13020920fa3975f290281395b6407900
net: dsa: mv88e6xxx: add EEPROM support to 6390

The Marvell 6352 chip has a 8-bit address/16-bit data EEPROM access.
The Marvell 6390 chip has a 16-bit address/8-bit data EEPROM access.

This patch implements the 8-bit data EEPROM access in the mv88e6xxx
driver and adds its support to chips of the 6390 family.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global2.c
drivers/net/dsa/mv88e6xxx/global2.h
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h