Skip to content

Commit 7a9810e

Browse files
Michel Dänzerdavem330
authored andcommitted
r8169: Enable RX_MULTI_EN for RTL_GIGA_MAC_VER_40
The ethernet port on my ASUS A88X Pro mainboard stopped working several times a day, with messages like these in dmesg: AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 domain=0x001e address=0x0000000000003000 flags=0x0050] Searching the web for these messages led me to similar reports about different hardware supported by r8169, and eventually to commits 3ced8c9 ('r8169: enforce RX_MULTI_EN for the 8168f.') and eb2dc35 ('r8169: RxConfig hack for the 8168evl'). So I tried this change, and it fixes the problem for me. Signed-off-by: Michel Dänzer <michel@daenzer.net> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 38a4dfc commit 7a9810e

File tree

1 file changed

+2
-0
lines changed
  • drivers/net/ethernet/realtek

1 file changed

+2
-0
lines changed

drivers/net/ethernet/realtek/r8169.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4240,6 +4240,8 @@ static void rtl_init_rxcfg(struct rtl8169_private *tp)
42404240
RTL_W32(RxConfig, RX128_INT_EN | RX_MULTI_EN | RX_DMA_BURST);
42414241
break;
42424242
case RTL_GIGA_MAC_VER_40:
4243+
RTL_W32(RxConfig, RX128_INT_EN | RX_MULTI_EN | RX_DMA_BURST | RX_EARLY_OFF);
4244+
break;
42434245
case RTL_GIGA_MAC_VER_41:
42444246
case RTL_GIGA_MAC_VER_42:
42454247
case RTL_GIGA_MAC_VER_43:

0 commit comments

Comments
 (0)