public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Val Henson <val@nmt.edu>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Yellowfin bug fix for Symbios cards
Date: Thu, 18 Oct 2001 21:54:30 -0600	[thread overview]
Message-ID: <20011018215429.A18593@boardwalk> (raw)
In-Reply-To: <20011018210416.D17208@boardwalk> <3BCF9FDD.D6586538@mandrakesoft.com>
In-Reply-To: <3BCF9FDD.D6586538@mandrakesoft.com>; from jgarzik@mandrakesoft.com on Thu, Oct 18, 2001 at 11:37:01PM -0400

On Thu, Oct 18, 2001 at 11:37:01PM -0400, Jeff Garzik wrote:
> Val Henson wrote:
> > Long version: Reading the MAC address from the EEPROM didn't work on
> > the Symbios card, so I turned on the IsGigabit flag to read it
> > correctly.  This also forces full-duplex on, which is wrong.  So I
> > added a flag controlling only the MAC address reading behavior and
> > turned off the IsGigabit flag for Symbios cards.
> 
> Thanks, applied.
> 
> Any idea where the MAC address comes from on the Symbios card?

I believe our bootloader (Smon) initializes the MAC address.

> Standard net driver policy is to read the MAC address from the original
> source at probe time, typically EEPROM but sometimes in a boot PROM,
> firmware console memory, or cardbus CIS.  It is generally preferred to
> -not- read the MAC address from the card registers unless you absolutely
> have to, since card's copy of the MAC address is easily changeable or
> corrupted by rebooting from Windows into Linux or similar things (MacOS
> into Linux).

Hm, good point.  I should figure out why read_eeprom isn't working and
fix that instead.  Maybe the driver should be changed to attempt to
read the MAC from the eeprom and then read from the registers if that
fails, instead of relying on flags.

By the way, the only other OS that runs on our hardware is VxWorks,
and possibly a few of the more obscure RTOS's...

-VAL

  reply	other threads:[~2001-10-19  3:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-19  3:04 [PATCH] Yellowfin bug fix for Symbios cards Val Henson
2001-10-19  3:37 ` Jeff Garzik
2001-10-19  3:54   ` Val Henson [this message]
2001-10-19  4:26     ` Jeff Garzik
2001-10-19 18:06       ` Val Henson

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=20011018215429.A18593@boardwalk \
    --to=val@nmt.edu \
    --cc=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@vger.kernel.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