Skip to contentSkip to conversation

r8169: fix RTL8168f/RTL8411 EPHY config

PATCH In review Heiner Kallweit 2 participants 2 messages Sep 27, 2020

Subsystems (3)
lore
Share & tools
lore

Heiner Kallweit

author maintainer
#0 lore raw

PATCH 1/1 r8169: fix RTL8168f/RTL8411 EPHY config

Mistakenly bit 2 was set instead of bit 3 as in the vendor driver.

Fixes a7a92cf81589 ("r8169: sync PCIe PHY init with vendor driver 8.047.01")
---
 drivers/net/ethernet/realtek/r8169_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/realtek/r8169_main.c +2 -2
index 9e4e6a883..6c7c004c2 100644
@@ -2901,7 +2901,7 @@ static void rtl_hw_start_8168f_1(struct rtl8169_private *tp)
 		{ 0x08, 0x0001,	0x0002 },
 		{ 0x09, 0x0000,	0x0080 },
 		{ 0x19, 0x0000,	0x0224 },
-		{ 0x00, 0x0000,	0x0004 },
+		{ 0x00, 0x0000,	0x0008 },
 		{ 0x0c, 0x3df0,	0x0200 },
 	};
 
@@ -2918,7 +2918,7 @@ static void rtl_hw_start_8411(struct rtl8169_private *tp)
 		{ 0x06, 0x00c0,	0x0020 },
 		{ 0x0f, 0xffff,	0x5200 },
 		{ 0x19, 0x0000,	0x0224 },
-		{ 0x00, 0x0000,	0x0004 },
+		{ 0x00, 0x0000,	0x0008 },
 		{ 0x0c, 0x3df0,	0x0200 },
 	};
 
Signature · 1 line
2.28.0
maintainer
#1 lore raw

From: Heiner Kallweit <[email protected]>
Date: Sun, 27 Sep 2020 19:44:29 +0200

Quoted 4 lines

Mistakenly bit 2 was set instead of bit 3 as in the vendor driver.

Fixes a7a92cf81589 ("r8169: sync PCIe PHY init with vendor driver 8.047.01")

Applied and queued up for -stable, thanks.