From: Joakim Tjernlund Date: Fri, 12 Nov 2010 03:55:08 +0000 (+0000) Subject: ucc_geth: Do not bring the whole IF down when TX failure. X-Git-Tag: v2.6.37-rc2~20^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2040bd57b5f0c52dc4503e0e960b1dcafaf30a8b;p=pandora-kernel.git ucc_geth: Do not bring the whole IF down when TX failure. ucc_geth_close lacks a cancel_work_sync(&ugeth->timeout_work) to stop any outstanding processing of TX fail. However, one can not call cancel_work_sync without fixing the timeout function otherwise it will deadlock. This patch brings ucc_geth in line with gianfar: Don't bring the interface down and up, just reinit controller HW and PHY. Signed-off-by: Joakim Tjernlund Reviewed-by: Anton Vorontsov Signed-off-by: David S. Miller --- Reading git-diff-tree failed