atl1c: Disable L0S when no cable link
authorHuang, Xiong <xiong@qca.qualcomm.com>
Mon, 30 Apr 2012 15:38:57 +0000 (15:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2012 01:44:16 +0000 (21:44 -0400)
commit4fc363528c063e247bc2a0aed868873337b69d3e
tree1a2986c9084551372cc245821eef71e9e58c92f2
parent5e5c0964d9b93debb040431b5036d28fe8b19136
atl1c: Disable L0S when no cable link

L0S might be unstable if no cable link, only enable it when link up.

Signed-off-by: xiong <xiong@qca.qualcomm.com>
Tested-by: Liu David <dwliu@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c