From: hayeswang <hayeswang@realtek.com>
Date: Mon, 21 Mar 2011 01:50:30 +0000 (+0000)
Subject: net/r8169: add a new chip for RTL8105
X-Git-Tag: firefly_0821_release~3680^2~5008^2~733
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36a0e6c2d6f3eb59b7a5ddfda63d252a42dba189;p=firefly-linux-kernel-4.4.55.git

net/r8169: add a new chip for RTL8105

Add a new chip for RTL8105 whose settings are the same with RTL_GIGA_MAC_VER_30.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 493b0de3848b..0111a143c992 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -1574,6 +1574,7 @@ static void rtl8169_get_mac_version(struct rtl8169_private *tp,
 		{ 0x7c800000, 0x30000000,	RTL_GIGA_MAC_VER_11 },
 
 		/* 8101 family. */
+		{ 0x7cf00000, 0x40b00000,	RTL_GIGA_MAC_VER_30 },
 		{ 0x7cf00000, 0x40a00000,	RTL_GIGA_MAC_VER_30 },
 		{ 0x7cf00000, 0x40900000,	RTL_GIGA_MAC_VER_29 },
 		{ 0x7c800000, 0x40800000,	RTL_GIGA_MAC_VER_30 },