diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-30 17:38:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-01 03:44:15 +0200 |
commit | 5e5c0964d9b93debb040431b5036d28fe8b19136 (patch) | |
tree | d0fb8d55bb621b064b64d573c1aa7705365c75be /crypto | |
parent | atl1c: cancel task when interface closed (diff) | |
download | linux-5e5c0964d9b93debb040431b5036d28fe8b19136.tar.xz linux-5e5c0964d9b93debb040431b5036d28fe8b19136.zip |
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 '')
0 files changed, 0 insertions, 0 deletions