From: Alban Bedel <alban.bedel@avionic-design.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] net: Add a command to access the EEPROM from ethernet devices
Date: Mon, 13 Oct 2014 10:56:12 +0200 [thread overview]
Message-ID: <20141013105612.5b8f12ad@avionic-0020> (raw)
In-Reply-To: <201410091717.00580.marex@denx.de>
On Thu, 9 Oct 2014 17:17:00 +0200
Marek Vasut <marex@denx.de> wrote:
> On Thursday, October 09, 2014 at 01:42:49 PM, Alban Bedel wrote:
> > Many ethernet devices use an EEPROM to store various settings, most
> > commonly the device MAC address. But on some devices it can contains
> > a lot more, for example USB device might also have many USB related
> > parameters.
> >
> > This commit add a set of commands to read/write this EEPROM, write a
> > default configuration and read/write the device MAC address. The
> > defaults command allow priming the EEPROM for devices that need more
> > than just a MAC address in the EEPROM.
> >
> > Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
>
> I will not comment on the code yet, but would like to discuss the concept
> instead. I wonder, can we not have a more generic command here? One which
> can manage the ethernet device altogether, not just adjust it's eeprom?
> Something like 'ethtool' in Linux ...
>
> What do you think please ?
Currently this is all I need for the boards I'm working on. However I
have no problem with splitting the command from 'eth_eeprom' to
'eth eeprom' to leave room for other stuff.
Alban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141013/06d9342c/attachment.pgp>
next prev parent reply other threads:[~2014-10-13 8:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-09 11:42 [U-Boot] [PATCH v2 1/2] net: Add a command to access the EEPROM from ethernet devices Alban Bedel
2014-10-09 11:42 ` [U-Boot] [PATCH v2 2/2] usb: eth: smsc95xx: Add EEPROM access support for LAN9514 Alban Bedel
2014-10-09 21:00 ` Pavel Machek
2014-10-09 15:17 ` [U-Boot] [PATCH v2 1/2] net: Add a command to access the EEPROM from ethernet devices Marek Vasut
2014-10-13 8:56 ` Alban Bedel [this message]
2014-10-14 6:26 ` Joe Hershberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141013105612.5b8f12ad@avionic-0020 \
--to=alban.bedel@avionic-design.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox