OSDN Git Service

net: dsa: Add support for switch EEPROM access
authorGuenter Roeck <linux@roeck-us.net>
Wed, 29 Oct 2014 17:45:01 +0000 (10:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 18:54:11 +0000 (14:54 -0400)
commit6793abb4e8491b1d673ccfd09e1a73d1ff8b9386
treec6a2a1c1a626016fe80f212969cf6f62063c346d
parent87e5f66b3723b2d912b565bf7100e5121f302cbf
net: dsa: Add support for switch EEPROM access

On some chips it is possible to access the switch eeprom.
Add infrastructure support for it.

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