Skip to content

ks8851 MAC and eeprom updates

Stephen Boyd lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5eeprom_93cx6: Add data direction control.drivers/misc/eeprom/eeprom_93cx6.c include/linux/eeprom_93cx6.h+5 -00 replies
2/5eeprom_93cx6: Add write supportdrivers/misc/eeprom/eeprom_93cx6.c include/linux/eeprom_93cx6.h+91 -00 replies
3/5KSZ8851-SNL: Add support for EEPROM MAC addressdrivers/net/ethernet/micrel/ks8851.c+34 -70 replies
4/5KSZ8851-SNL: Fix MAC address change problemdrivers/net/ethernet/micrel/ks8851.c drivers/net/ethernet/micrel/ks8851.h+28 -210 replies
5/5KSZ8851-SNL: Add ethtool support for EEPROM via eeprom_93cx6drivers/net/ethernet/micrel/Kconfig drivers/net/ethernet/micrel/ks8851.c drivers/net/ethernet/micrel/ks8851.h+120 -3200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ks8851 MAC and eeprom updates

I pulled this patch series off the netdev list[1] when the eeprom reading didn't work for my ks8851 and I wanted the mac address to be read out at boot. It all seems to work well, so I'm posting it here again, slightly cleaned up and simplified, for inclusion.

Overall it reduces the lines of code and properly supports eeprom reading; two things the previous implementation doesn't do.

This is based off of linux-next-20111025.

Thanks to Ben Dooks for doing the heavy lifting.

[1] http://article.gmane.org/gmane.linux.network/159708

Ben Dooks (4):
eeprom_93cx6: Add data direction control.
eeprom_93cx6: Add write support
KSZ8851-SNL: Add support for EEPROM MAC address
KSZ8851-SNL: Add ethtool support for EEPROM via eeprom_93cx6

Tristram Ha (1):
KSZ8851-SNL: Fix MAC address change problem

 drivers/misc/eeprom/eeprom_93cx6.c   |   88 ++++++
 drivers/net/ethernet/micrel/Kconfig  |    2 +
 drivers/net/ethernet/micrel/ks8851.c |  513 ++++++++++++----------------------
 drivers/net/ethernet/micrel/ks8851.h |   15 +-
 include/linux/eeprom_93cx6.h         |    8 +
 5 files changed, 278 insertions(+), 348 deletions(-)
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.