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: Mark Brown <broonie@sirena.org.uk>, netdev@oss.sgi.com
Subject: Re: Ethernet MAC address question
Date: Tue, 15 Jun 2004 12:11:18 -0400	[thread overview]
Message-ID: <40CF1FA6.3020701@pobox.com> (raw)
In-Reply-To: <200406151538.i5FFcJ720553@localhost.localdomain>

Don Fry wrote:
> So how does the driver distinguish between a valid, but incorrect MAC
> address, and the 'correct' MAC address?  The incorrect one that is the
> value that just happened to be in the uninitialized volatile registers,
> and the correct address which some magic platform means loaded into the
> same, but this time initialized, volatile registers.


You have to notice that certain platform-specific attributes are 
present, that tells your code to search in <this magic place> rather 
than the standard place for MAC address.

For example, some Compaqs have a magic MAC address location (this might 
even be pcnet32), and one solution proposed was looking for the 
platform's DMI table identifiers.  Another solution -- working -- was to 
load the MAC address registers when the driver loads, and just hope it 
is a correct address.

	Jeff

      reply	other threads:[~2004-06-15 16:11 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
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 [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=40CF1FA6.3020701@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=brazilnut@us.ibm.com \
    --cc=broonie@sirena.org.uk \
    --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).