2024-06-23 17:19:47 +00:00
|
|
|
From 39f59c72ad3a1eaab9a60f0671bc94d2bc826d21 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Heiner Kallweit <hkallweit1@gmail.com>
|
|
|
|
Date: Sun, 7 Apr 2024 23:19:25 +0200
|
|
|
|
Subject: [PATCH] r8169: add support for RTL8168M
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
A user reported an unknown chip version. According to the r8168 vendor
|
|
|
|
driver it's called RTL8168M, but handling is identical to RTL8168H.
|
|
|
|
So let's simply treat it as RTL8168H.
|
|
|
|
|
|
|
|
Tested-by: Евгений <octobergun@gmail.com>
|
|
|
|
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
|
|
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
|
|
---
|
|
|
|
drivers/net/ethernet/realtek/r8169_main.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/net/ethernet/realtek/r8169_main.c
|
|
|
|
+++ b/drivers/net/ethernet/realtek/r8169_main.c
|
2024-10-10 20:06:27 +00:00
|
|
|
@@ -2257,6 +2257,8 @@ static enum mac_version rtl8169_get_mac_
|
2024-06-23 17:19:47 +00:00
|
|
|
* the wild. Let's disable detection.
|
|
|
|
* { 0x7cf, 0x540, RTL_GIGA_MAC_VER_45 },
|
|
|
|
*/
|
|
|
|
+ /* Realtek calls it RTL8168M, but it's handled like RTL8168H */
|
|
|
|
+ { 0x7cf, 0x6c0, RTL_GIGA_MAC_VER_46 },
|
|
|
|
|
|
|
|
/* 8168G family. */
|
|
|
|
{ 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 },
|