From: Darren Salt <linux@youmustbejoking.demon.co.uk>
To: akpm@osdl.org, romieu@fr.zoreil.com
Cc: hchacha@users.sourceforge.net, jeff@garzik.org, syed.azam@hp.com,
netdev@vger.kernel.org
Subject: Re: [patch 1/1] r8169 driver: corega support
Date: Sat, 21 Oct 2006 14:52:54 +0100 [thread overview]
Message-ID: <4E79505750%linux@youmustbejoking.demon.co.uk> (raw)
In-Reply-To: <20061020224438.GA1794@electric-eye.fr.zoreil.com>
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
I demand that Francois Romieu may or may not have written...
> akpm@osdl.org <akpm@osdl.org> :
> [Corega adapter support]
> It's queued in the r8169 branch at:
> git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git r8169
> I have sent Jeff a pull request for it (and I'll probably send one
> more for the patch below).
> Darren, can you check if the patch below fixes you link detection
> issue ?
It does, but the patch causes the module to report that the reset failed even
after reporting that it's done. A fix for this is attached.
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Generate power using sun, wind, water, nuclear. FORGET COAL AND OIL.
Life is what happens when you're busy making other plans.
[-- Attachment #2: r8169-PHY-reset-report-fix.patch --]
[-- Type: text/plain, Size: 492 bytes --]
Avoid reporting that the PHY reset has failed when it's just succeeded.
Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
diff a/drivers/net/r8169.c b/drivers/net/r8169.c
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -1452,7 +1452,7 @@ static void rtl8169_release_board(struct
for (i = 0; i < 100; i++) {
if (!tp->phy_reset_pending(ioaddr)) {
printk(KERN_INFO "%s: PHY reset done.\n", dev->name);
- break;
+ return;
}
msleep(1);
}
next prev parent reply other threads:[~2006-10-21 14:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200610202144.k9KLid8a003945@shell0.pdx.osdl.net>
2006-10-20 22:44 ` [patch 1/1] r8169 driver: corega support Francois Romieu
2006-10-21 13:52 ` Darren Salt [this message]
2006-10-21 20:15 ` Francois Romieu
2006-10-22 15:14 ` Darren Salt
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=4E79505750%linux@youmustbejoking.demon.co.uk \
--to=linux@youmustbejoking.demon.co.uk \
--cc=akpm@osdl.org \
--cc=hchacha@users.sourceforge.net \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.com \
--cc=syed.azam@hp.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).