Netdev List
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: edward_hsu@realtek.com.tw, netdev@vger.kernel.org
Subject: [PATCH net-next 2/6] r8169: differentiate close chipsets in the startup identification message
Date: Tue, 11 Aug 2009 07:42:37 +0200	[thread overview]
Message-ID: <20090811054236.GC16446@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <20090811054039.GA16446@electric-eye.fr.zoreil.com>

The driver displays the same 0x18000000 xid for RTL_GIGA_MAC_VER_06
and RTL_GIGA_MAC_VER_05 whereas the former ought to be identified as
0x98000000.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
---
 drivers/net/r8169.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index eac882b..6c4b879 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -2180,7 +2180,7 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 	pci_set_drvdata(pdev, dev);
 
 	if (netif_msg_probe(tp)) {
-		u32 xid = RTL_R32(TxConfig) & 0x7cf0f8ff;
+		u32 xid = RTL_R32(TxConfig) & 0x9cf0f8ff;
 
 		printk(KERN_INFO "%s: %s at 0x%lx, "
 		       "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x, "
-- 
1.6.2.5


  parent reply	other threads:[~2009-08-11 11:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-11  5:40 [PATCH net-next 0/6] r8169 updates Francois Romieu
2009-08-11  5:41 ` [PATCH net-next 1/6] r8169: fix r8101 quirk dupe Francois Romieu
2009-08-11  5:42 ` Francois Romieu [this message]
2009-08-11  5:43 ` [PATCH net-next 3/6] r8169: phy init for the 8169sce Francois Romieu
2009-08-11  5:44 ` [PATCH net-next 4/6] r8169: phy init for the 8169scd Francois Romieu
2009-08-11  5:44 ` [PATCH net-next 5/6] r8169: phy init for the 8169s Francois Romieu
2009-08-11  5:45 ` [PATCH net-next 6/6] r8169: phy init for the 8102e Francois Romieu
2009-08-13  5:17 ` [PATCH net-next 0/6] r8169 updates 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=20090811054236.GC16446@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=davem@davemloft.net \
    --cc=edward_hsu@realtek.com.tw \
    --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