Skip to content

Commit b32caf8

Browse files
hkallweitopsiff
authored andcommitted
r8169: add support for RTL8168M
mainline inclusion from mainline-v6.10-rc1 category: feature 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> (cherry picked from commit 39f59c7) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent cbb4f88 commit b32caf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/realtek/r8169_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,6 +2119,8 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
21192119
* the wild. Let's disable detection.
21202120
* { 0x7cf, 0x540, RTL_GIGA_MAC_VER_45 },
21212121
*/
2122+
/* Realtek calls it RTL8168M, but it's handled like RTL8168H */
2123+
{ 0x7cf, 0x6c0, RTL_GIGA_MAC_VER_46 },
21222124

21232125
/* 8168G family. */
21242126
{ 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 },

0 commit comments

Comments
 (0)