]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit33b43df40a3827365ff80fae79f7c59c107508d3
tree2c8d5e987d9aa5b2bf00e8aebb5d91695291717d
parent06745729c48e3677a64db63481184cc7aef1ea69
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