Skip to contentSkip to conversation

r8169:Correct value on RxMaxSize register

PATCH New Corcodel Marian 1 participant 1 message Aug 18, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 r8169:Correct value on RxMaxSize register

On here want to be original value, period.

drivers/net/ethernet/realtek/r8169.c +2 -2
index aff5437..6d16de3 100644
@@ -5219,8 +5219,8 @@ static u16 rtl_rw_cpluscmd(void __iomem *ioaddr)
 
 static void rtl_set_rx_max_size(void __iomem *ioaddr, unsigned int rx_buf_sz)
 {
-	/* Low hurts. Let's disable the filtering. */
-	RTL_W16(RxMaxSize, rx_buf_sz + 1);
+	
+	RTL_W16(RxMaxSize, rx_buf_sz);
 }
 
 static void rtl8169_set_magic_reg(void __iomem *ioaddr, unsigned mac_version)
Signature · 1 line
2.1.4