From: Jeff Garzik <jeff@garzik.org>
To: Jay Cliburn <jacliburn@bellsouth.net>
Cc: advantis@gmx.net, csnook@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RESEND] [PATCH] atl1: relax eeprom mac address error check
Date: Tue, 17 Jun 2008 23:26:37 -0400 [thread overview]
Message-ID: <4858806D.3070009@garzik.org> (raw)
In-Reply-To: <20080612170454.3bc6f096@osprey.hogchain.net>
Jay Cliburn wrote:
> From: Radu Cristescu <advantis@gmx.net>
>
> The atl1 driver tries to determine the MAC address thusly:
>
> - If an EEPROM exists, read the MAC address from EEPROM and
> validate it.
> - If an EEPROM doesn't exist, try to read a MAC address from
> SPI flash.
> - If that fails, try to read a MAC address directly from the
> MAC Station Address register.
> - If that fails, assign a random MAC address provided by the
> kernel.
>
> We now have a report of a system fitted with an EEPROM containing all
> zeros where we expect the MAC address to be, and we currently handle
> this as an error condition. Turns out, on this system the BIOS writes
> a valid MAC address to the NIC's MAC Station Address register, but we
> never try to read it because we return an error when we find the all-
> zeros address in EEPROM.
>
> This patch relaxes the error check and continues looking for a MAC
> address even if it finds an illegal one in EEPROM.
>
> Signed-off-by: Radu Cristescu <advantis@gmx.net>
> Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
> ---
> drivers/net/atlx/atl1.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
applied
prev parent reply other threads:[~2008-06-18 3:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-12 22:04 [RESEND] [PATCH] atl1: relax eeprom mac address error check Jay Cliburn
2008-06-18 3:26 ` 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=4858806D.3070009@garzik.org \
--to=jeff@garzik.org \
--cc=advantis@gmx.net \
--cc=csnook@redhat.com \
--cc=jacliburn@bellsouth.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).