[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1439925021-5772-1-git-send-email-corcodel.marian@gmail.com>
Date: Tue, 18 Aug 2015 22:10:21 +0300
From: Corcodel Marian <corcodel.marian@...il.com>
To: netdev@...r.kernel.org
Cc: Corcodel Marian <corcodel.marian@...il.com>
Subject: [PATCH net-next] r8169:Set RxConfig on same func. with TxConfig
Add set DMA burst size and Rx FIFO threshold on RxConfig
register to function rtl_set_rx_tx_config_register.
Signed-off-by: Corcodel Marian <corcodel.marian@...il.com>
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 6d16de3..c3c908c 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -5183,6 +5183,7 @@ static void rtl_set_rx_tx_config_registers(struct rtl8169_private *tp)
/* Set DMA burst size and Interframe Gap Time */
RTL_W32(TxConfig, (TX_DMA_BURST << TxDMAShift) |
(InterFrameGap << TxInterFrameGapShift) | InterFrameGap2);
+ RTL_W32(RxConfig, RX_FIFO_THRESHOLD | RX_DMA_BURST);
}
static void rtl_hw_start(struct net_device *dev)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists