From: Martin Capitanio <c4p7n@capitanio.org>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: Ivan Vecera <ivecera@redhat.com>,
netdev@vger.kernel.org, kernel@vger.kernel.org
Subject: Re: [patch] rtl8102e: commit 7bf6bf480 zeroized MAC address
Date: Thu, 16 Oct 2008 13:19:59 +0200 [thread overview]
Message-ID: <1224155999.9750.6.camel@marvin> (raw)
In-Reply-To: <20081015225023.GB12337@electric-eye.fr.zoreil.com>
Am Donnerstag, den 16.10.2008, 00:50 +0200 schrieb Francois Romieu:
> c4p7n@capitanio.org <c4p7n@capitanio.org> :
> > May be we are reading just by luck zeros and not a random perfectly
> > sane address.
>
> I would use the attached patches. The former one is mostly Ivan's one
> with some rework of the debug messages. The later checks the eeprom
> for its signature.
[ 8087.008071] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 8087.008108] r8169 0000:02:00.0: PCI INT A -> GSI 16 (level, low) ->
IRQ 16
[ 8087.008120] r8169 0000:02:00.0: enabling Mem-Wr-Inval
[ 8087.008139] r8169 0000:02:00.0: enabling bus mastering
[ 8087.008149] r8169 0000:02:00.0: setting latency timer to 64
[ 8087.008284] r8169 0000:02:00.0: VPD access advertised.
[ 8087.008620] r8169 0000:02:00.0: Missing EEPROM signature: 0000
[ 8087.009390] eth0: RTL8102e at 0xffffc20000042000,, XID 34a00000 IRQ
316
[ 8091.040800] r8169: eth0: link up
Thanks,
Martin
>
> With these patches the driver notices that it can not get an address
> for my 8168b but it works ok with my 8169 after both an hot and a
> cold boot. Interestingly enough, the VPD is not enabled on the 8169
> during the first boot.
>
> Ivan, can you test them (and fix them afterwards :o) ) ?
>
next prev parent reply other threads:[~2008-10-16 11:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 13:57 [patch] rtl8102e: commit 7bf6bf480 zeroized MAC address c4p7n
2008-10-15 22:50 ` Francois Romieu
2008-10-16 11:19 ` Martin Capitanio [this message]
2008-10-21 11:15 ` Ivan Vecera
-- strict thread matches above, loose matches on Subject: below --
2008-10-15 10:11 c4p7n
2008-10-15 12:31 ` Ivan Vecera
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=1224155999.9750.6.camel@marvin \
--to=c4p7n@capitanio.org \
--cc=ivecera@redhat.com \
--cc=kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.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).