From: Giuseppe CAVALLARO Date: Fri, 17 Sep 2010 03:23:41 +0000 (+0000) Subject: stmmac: prevent dma init stuck in case of failures. X-Git-Tag: v2.6.37-rc1~147^2~409 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c629882ac73cab2cd41d9948caeed633fc570fc0;p=pandora-kernel.git stmmac: prevent dma init stuck in case of failures. Add a limit when perform the DMA reset procedure so, in case of problems (i.e. PHY reset failed) the Kernel won't hang on the stmmac DMA initialisation blocking the Kernels execution. Signed-off-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed