From: Haavard Skinnemoen <hskinnemoen@atmel.com>
To: Sven Schnelle <svens@stackframe.org>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] macb: use random mac if stored address in EEPROM is invalid
Date: Sun, 8 Jun 2008 22:41:08 +0200 [thread overview]
Message-ID: <20080608224108.1f73f219@siona.local> (raw)
In-Reply-To: <87wsl56qob.fsf@apollo.stackframe.org>
On Wed, 04 Jun 2008 19:44:20 +0200
Sven Schnelle <svens@stackframe.org> wrote:
> We should use a random mac address if the EEPROM doesn't contain a valid
> one. This makes life on Boards with unprogrammed EEPROM devices easier.
>
> Signed-off-by: Sven Schnelle <svens@stackframe.org>
Hmm. I don't know. How common is this on properly configured boards?
Btw, the macb driver doesn't read any EEPROM. It reads the hardware
registers of the controller because ARM for some bizarre reason insists
on the boot loader passing the MAC address through hardware registers
(despite the fact that the maintainer of the boot loader insists on
_not_ doing that.)
But if assigning a random mac address when a real mac address isn't
available is common practice in netdev-land, I guess this patch fine
with me.
Haavard
prev parent reply other threads:[~2008-06-08 21:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 17:44 [PATCH] macb: use random mac if stored address in EEPROM is invalid Sven Schnelle
2008-06-08 20:41 ` Haavard Skinnemoen [this message]
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=20080608224108.1f73f219@siona.local \
--to=hskinnemoen@atmel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=svens@stackframe.org \
/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;
as well as URLs for NNTP newsgroup(s).