Skip to content

Commit

Permalink
Revert "r8169: disable detection of chip version 36"
Browse files Browse the repository at this point in the history
[ Upstream commit 2ea26b4 ]

This reverts commit 42666b2.

This chip version seems to be very rare, but it exits in consumer
devices, see linked report.

Link: https://stackoverflow.com/questions/75049473/cant-setup-a-wired-network-in-archlinux-fresh-install
Fixes: 42666b2 ("r8169: disable detection of chip version 36")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/42e9674c-d5d0-a65a-f578-e5c74f244739@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
hkallweit authored and gregkh committed Jan 18, 2023
1 parent 8a97b54 commit 7697de4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/net/ethernet/realtek/r8169_main.c
Expand Up @@ -1996,10 +1996,7 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)

/* 8168F family. */
{ 0x7c8, 0x488, RTL_GIGA_MAC_VER_38 },
/* It seems this chip version never made it to
* the wild. Let's disable detection.
* { 0x7cf, 0x481, RTL_GIGA_MAC_VER_36 },
*/
{ 0x7cf, 0x481, RTL_GIGA_MAC_VER_36 },
{ 0x7cf, 0x480, RTL_GIGA_MAC_VER_35 },

/* 8168E family. */
Expand Down

0 comments on commit 7697de4

Please sign in to comment.