From: Huang, Xiong Date: Mon, 30 Apr 2012 15:38:56 +0000 (+0000) Subject: atl1c: do MAC-reset when PHY link down X-Git-Tag: v3.5-rc1~109^2~222 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e5c0964d9b93debb040431b5036d28fe8b19136;p=pandora-kernel.git 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 Tested-by: Liu David Signed-off-by: David S. Miller --- Reading git-diff-tree failed