diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-30 15:38:56 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-01 01:44:15 (GMT) |
commit | 5e5c0964d9b93debb040431b5036d28fe8b19136 (patch) | |
tree | d0fb8d55bb621b064b64d573c1aa7705365c75be /mm/swap_state.c | |
parent | 0aa76ce3324e324d3091aef0c3e22c249ae4b693 (diff) | |
download | linux-5e5c0964d9b93debb040431b5036d28fe8b19136.tar.xz |
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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions