commit | f8cd8753def081b92b93209265bce68a73885ed0 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Tue May 10 23:27:25 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 11 19:36:29 2016 -0400 |
tree | e438a6286d9a2cfbd56ef6e7608ed238ee4deb7e | |
parent | ff04955c2f678a2c4c3207e0184c4c389da9d1e2 [diff] |
dsa: mv88e6xxx: Handle eeprom-length property A switch can export an attached EEPROM using the standard ethtool API. However the switch itself cannot determine the size of the EEPROM, and multiple sizes are allowed. Thus a device tree property is supported to indicate the length of the EEPROM. Parse this property during device probe, and implement a callback function to retrieve it. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>