KSZ8851-SNL: Add ethtool support for EEPROM via eeprom_93cx6
authorBen Dooks <ben@simtec.co.uk>
Mon, 21 Nov 2011 08:58:00 +0000 (08:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 19:59:40 +0000 (14:59 -0500)
commit51b7b1c34e195886e38ee93ff2a8a203745f897f
tree88069709e21b0d206fc6619e5737be398e105aa0
parent32f160d96514a15cc52b708d8a8b9742bc3acd5d
KSZ8851-SNL: Add ethtool support for EEPROM via eeprom_93cx6

Add ethtool EEPROM read/write support using the eeprom_93cx6
library instead of open-coding the functions.

Depends on eeprom_93cx6 driver getting EEPROM write support.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
[sboyd@codeaurora.org: Removed previous eeprom implementation]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/Kconfig
drivers/net/ethernet/micrel/ks8851.c
drivers/net/ethernet/micrel/ks8851.h