Skip to content

Commit 39f59c7

Browse files
hkallweitdavem330
authored andcommitted
r8169: add support for RTL8168M
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>
1 parent 358961f commit 39f59c7

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
@@ -2227,6 +2227,8 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
22272227
* the wild. Let's disable detection.
22282228
* { 0x7cf, 0x540, RTL_GIGA_MAC_VER_45 },
22292229
*/
2230+
/* Realtek calls it RTL8168M, but it's handled like RTL8168H */
2231+
{ 0x7cf, 0x6c0, RTL_GIGA_MAC_VER_46 },
22302232

22312233
/* 8168G family. */
22322234
{ 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 },

0 commit comments

Comments
 (0)