Message ID | 0f0d8911-4b36-480e-b0d7-636f72c7beec@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 39f59c72ad3a1eaab9a60f0671bc94d2bc826d21 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] r8169: add support for RTL8168M | expand |
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Sun, 7 Apr 2024 23:19:25 +0200 you wrote: > 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> > > [...] Here is the summary with links: - [net-next] r8169: add support for RTL8168M https://git.kernel.org/netdev/net-next/c/39f59c72ad3a You are awesome, thank you!
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index fc8e6771e..2c91ce847 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -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 },