]> www.infradead.org Git - users/hch/configfs.git/commitdiff
r8169: add support for RTL8168M
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 7 Apr 2024 21:19:25 +0000 (23:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2024 13:25:53 +0000 (14:25 +0100)
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

index 6f1e6f386b7ba7277bc211765b8ef49d9fcd6750..60540ca6346466d4dab399c89ec064b62afbe9ce 100644 (file)
@@ -2227,6 +2227,8 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
                 * 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 },