]> err.no Git - linux-2.6/commitdiff
r8169: extraneous Cmd{Tx/Rx}Enb write
authorFrancois Romieu <romieu@fr.zoreil.com>
Sun, 17 Dec 2006 23:00:55 +0000 (00:00 +0100)
committerFrancois Romieu <romieu@electric-eye.fr.zoreil.com>
Tue, 26 Dec 2006 22:28:02 +0000 (23:28 +0100)
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 <romieu@fr.zoreil.com>
drivers/net/r8169.c

index 148910025f74db080f0d62379304facbd7df6c6d..577babd4c9386559001b725e030f9b56b878a894 100644 (file)
@@ -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);