r8169:prevent enable hardware tx/rx too early
authorChun-Hao Lin <hau@realtek.com>
Tue, 2 Dec 2014 08:48:30 +0000 (16:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:43:25 +0000 (20:43 -0500)
commitd6e572911a4cb2b9fcd1c26a38d5317a3971f2fd
tree51c123f7b15b6cf2df39918777502f40b2389c1b
parent66813d4d04101c6342d74006eb36b8b59554fd51
r8169:prevent enable hardware tx/rx too early

For RTL8168G/GU/H/EP and RTL8411B remove enable tx/rx from its own hw_start
function. This will prevent enable tx/rx before complete hardware tx/rx
setting.

Tx/Rx will be enabled in the end of function rtl_hw_start_8168.

Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c