From: Francois Romieu <romieu@fr.zoreil.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org,
Realtek linux nic maintainers <nic_swsd@realtek.com>,
Hayes Wang <hayeswang@realtek.com>
Subject: [PATCH 1/1] r8169: fix wrong register use.
Date: Fri, 24 Jun 2011 19:49:44 +0200 [thread overview]
Message-ID: <20110624174944.GA3700@electric-eye.fr.zoreil.com> (raw)
Please pull from branch 'davem.r8169' in repository
git://git.kernel.org/pub/scm/linux/kernel/git/romieu/netdev-2.6.git davem.r8169
to get the change below.
@Hayes: version 8.023.00 of Realtek's r8168 driver has the same problem.
Distance from 'davem' (5c18e80be9ff362f6523b097d495bb2e2f939946)
----------------------------------------------------------------
1e4e82baee8c2a8d753cbf6aa1a77326b71e59f0
Diffstat
--------
drivers/net/r8169.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Shortlog
--------
Francois Romieu (1):
r8169: fix wrong register use.
Patch
-----
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 05d8178..5990621 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -742,7 +742,7 @@ static void rtl8168_oob_notify(struct rtl8169_private *tp, u8 cmd)
msleep(2);
for (i = 0; i < 5; i++) {
udelay(100);
- if (!(RTL_R32(ERIDR) & ERIAR_FLAG))
+ if (!(RTL_R32(ERIAR) & ERIAR_FLAG))
break;
}
--
Ueimor
next reply other threads:[~2011-06-24 18:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 17:49 Francois Romieu [this message]
2011-06-24 21:33 ` [PATCH 1/1] r8169: fix wrong register use David Miller
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=20110624174944.GA3700@electric-eye.fr.zoreil.com \
--to=romieu@fr.zoreil.com \
--cc=davem@davemloft.net \
--cc=hayeswang@realtek.com \
--cc=netdev@vger.kernel.org \
--cc=nic_swsd@realtek.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