commit | 5e5c0964d9b93debb040431b5036d28fe8b19136 | [log] [tgz] |
---|---|---|
author | Huang, Xiong <xiong@qca.qualcomm.com> | Mon Apr 30 15:38:56 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 30 21:44:15 2012 -0400 |
tree | d0fb8d55bb621b064b64d573c1aa7705365c75be | |
parent | 0aa76ce3324e324d3091aef0c3e22c249ae4b693 [diff] |
atl1c: do MAC-reset when PHY link down There may be tx-skbs still pending in HW when PHY link down. Reset MAC will make the DMA engine go to the start point. and release all pending skbs. Note: Reset MAC will clear any interrupt status and mask. 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>