netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Don Fry <brazilnut@us.ibm.com>
Cc: netdev@oss.sgi.com
Subject: Re: Ethernet MAC address question
Date: Mon, 14 Jun 2004 19:34:50 -0400	[thread overview]
Message-ID: <40CE361A.9060707@pobox.com> (raw)
In-Reply-To: <200406142202.i5EM2bh19464@localhost.localdomain>

Don Fry wrote:
> When and/or why would an ethernet driver not use the MAC address from
> the PROM associated with the adapter?
> 
> Since the MAC address can be specified via "ifconfig ethN ether ...."
> why not use the PROM value, and override it later if needed?
> 
> I have received several complaints that the pcnet32 adapter is using
> the 'wrong' MAC address.  By looking back through older kernels, the
> pcnet32 code was changed between November 2001 and February 2002 to
> read the MAC address from PROM, but to use whatever value was read
> from some volatile chip registers, which early chip versions do not
> even initialize.
> 
> It seems to me the driver should always use the PROM address, assuming
> it has one.  What am I missing?

In general, you are correct.

However there are a few cases where some magic platform means loads the 
MAC address into the (volatile) MAC address registers, and that's the 
only source of an accurate MAC address for those people.

	Jeff

  reply	other threads:[~2004-06-14 23:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14 22:02 Ethernet MAC address question Don Fry
2004-06-14 23:34 ` Jeff Garzik [this message]
2004-06-15  4:17   ` Luis R. Rodriguez
2004-06-15  9:58   ` Mark Brown
2004-06-15 15:38     ` Don Fry
2004-06-15 16:11       ` Jeff Garzik

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=40CE361A.9060707@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=brazilnut@us.ibm.com \
    --cc=netdev@oss.sgi.com \
    /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).