netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] ks8851: support for read/write MAC address from EEPROM
@ 2010-03-29 18:17 Sebastien Jan
  2010-03-29 18:17 ` [RFC PATCH 1/2] ks8851: Support MAC address write to companion EEPROM Sebastien Jan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sebastien Jan @ 2010-03-29 18:17 UTC (permalink / raw)
  To: netdev, Ben Dooks; +Cc: Abraham Arce, Sebastien Jan

Hello,

I needed to program a mac address to the companion eeprom of our ks8851, and
wrote the following patches, which use debug-fs as interface.

I then realized that this seemed not the usual way to access net controller
eeproms (ethtool seems the more standard way).

I am very interesed in getting your feedbacks on the following:
 1) Does it make any sense to you to use this debug-fs interface to read/write
the mac address (advantage: no need for user to know how ks8851 manages the
eeprom / alignment / offset), and can it be upstreamed?
 2) Must a more generic eeprom access be implemented through ethtool (or another
interface?)? Is it the only choice or can it coexist with option 1)? (most of
code would be common)
 3) Any feedback regarding the code itself or anything else is very welcome!

Thanks,
Sebastien

Sebastien Jan (2):
  ks8851: Add support for MAC address write to companion EEPROM
  ks8851: Add support for MAC address read from companion EEPROM

 drivers/net/ks8851.c |  445 ++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/ks8851.h |   14 ++-
 2 files changed, 458 insertions(+), 1 deletions(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-04  2:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-29 18:17 [RFC PATCH 0/2] ks8851: support for read/write MAC address from EEPROM Sebastien Jan
2010-03-29 18:17 ` [RFC PATCH 1/2] ks8851: Support MAC address write to companion EEPROM Sebastien Jan
2010-03-29 18:17 ` [RFC PATCH 2/2] ks8851: Support MAC address read from " Sebastien Jan
2010-05-04  2:13 ` [RFC PATCH 0/2] ks8851: support for read/write MAC address from EEPROM Abraham Arce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).