diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2006-12-17 18:00:55 -0500 |
---|---|---|
committer | Francois Romieu <romieu@electric-eye.fr.zoreil.com> | 2006-12-26 17:28:02 -0500 |
commit | 81f4e6c190a0fa016fd7eecaf76a5f95d121afc2 (patch) | |
tree | 9c1b347c36970c254ece4d0e54b5950461edfdbf /drivers/net/r8169.c | |
parent | 87046e5062c483820f20c1fa6ed0826bb38fd4f0 (diff) |
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 <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r-- | drivers/net/r8169.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
1882 | (tp->mac_version == RTL_GIGA_MAC_VER_02) || | 1882 | (tp->mac_version == RTL_GIGA_MAC_VER_02) || |
1883 | (tp->mac_version == RTL_GIGA_MAC_VER_03) || | 1883 | (tp->mac_version == RTL_GIGA_MAC_VER_03) || |
1884 | (tp->mac_version == RTL_GIGA_MAC_VER_04)) | 1884 | (tp->mac_version == RTL_GIGA_MAC_VER_04)) |
1885 | RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); | ||
1886 | rtl8169_set_rx_tx_config_registers(tp); | 1885 | rtl8169_set_rx_tx_config_registers(tp); |
1887 | 1886 | ||
1888 | cmd = RTL_R16(CPlusCmd); | 1887 | cmd = RTL_R16(CPlusCmd); |