Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81f4e6c1 authored by Francois Romieu's avatar Francois Romieu Committed by Francois Romieu
Browse files

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: default avatarFrancois Romieu <romieu@fr.zoreil.com>
parent 87046e50
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);