]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa/mv88e6352: Implement EEPROM access functions
authorGuenter Roeck <linux@roeck-us.net>
Wed, 29 Oct 2014 17:45:03 +0000 (10:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 18:54:11 +0000 (14:54 -0400)
commitc9e51021661df84a62e3c4834ad96bd430191ea2
tree2c8d5e987d9aa5b2bf00e8aebb5d91695291717d
parentda31bbbc82fd5b05103f03ad4b8ad0624a221c17
net: dsa/mv88e6352: Implement EEPROM access functions

MV88E6352 supports read and write access to its configuration eeprom.

There is no means to detect if an EEPROM is connected to the switch.
Also, the switch supports EEPROMs with different sizes, but can not detect
or report the type or size of connected EEPROMs. Therefore, do not implement
the get_eeprom_len callback but depend on platform or devicetree data to
provide information about EEPROM presence and size.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6352.c
drivers/net/dsa/mv88e6xxx.h