Skip to content

Commit 709a16b

Browse files
hkallweitdavem330
authored andcommitted
r8169: fix RTL8168f/RTL8411 EPHY config
Mistakenly bit 2 was set instead of bit 3 as in the vendor driver. Fixes: a7a92cf ("r8169: sync PCIe PHY init with vendor driver 8.047.01") Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 307eea3 commit 709a16b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/realtek/r8169_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,7 +2904,7 @@ static void rtl_hw_start_8168f_1(struct rtl8169_private *tp)
29042904
{ 0x08, 0x0001, 0x0002 },
29052905
{ 0x09, 0x0000, 0x0080 },
29062906
{ 0x19, 0x0000, 0x0224 },
2907-
{ 0x00, 0x0000, 0x0004 },
2907+
{ 0x00, 0x0000, 0x0008 },
29082908
{ 0x0c, 0x3df0, 0x0200 },
29092909
};
29102910

@@ -2921,7 +2921,7 @@ static void rtl_hw_start_8411(struct rtl8169_private *tp)
29212921
{ 0x06, 0x00c0, 0x0020 },
29222922
{ 0x0f, 0xffff, 0x5200 },
29232923
{ 0x19, 0x0000, 0x0224 },
2924-
{ 0x00, 0x0000, 0x0004 },
2924+
{ 0x00, 0x0000, 0x0008 },
29252925
{ 0x0c, 0x3df0, 0x0200 },
29262926
};
29272927

0 commit comments

Comments
 (0)