From 81f4e6c190a0fa016fd7eecaf76a5f95d121afc2 Mon Sep 17 00:00:00 2001 From: Francois Romieu Date: Mon, 18 Dec 2006 00:00:55 +0100 Subject: [PATCH] r8169: extraneous Cmd{Tx/Rx}Enb write Checked in Realtek's driver, this one has no business being there. The driver still works but there is a noticeable performance drop. Signed-off-by: Francois Romieu --- drivers/net/r8169.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 148910025f74..577babd4c938 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -1882,7 +1882,6 @@ static void rtl8169_hw_start(struct net_device *dev) (tp->mac_version == RTL_GIGA_MAC_VER_02) || (tp->mac_version == RTL_GIGA_MAC_VER_03) || (tp->mac_version == RTL_GIGA_MAC_VER_04)) - RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); rtl8169_set_rx_tx_config_registers(tp); cmd = RTL_R16(CPlusCmd); -- 2.30.2