r8169:Correct value on RxMaxSize register
PATCH 1/1 r8169:Correct value on RxMaxSize register
On here want to be original value, period.
Signed-off-by Corcodel Marian <[email protected]>
drivers/net/ethernet/realtek/r8169.c +2 -2
@@ -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