commit | c629882ac73cab2cd41d9948caeed633fc570fc0 | [log] [tgz] |
---|---|---|
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | Fri Sep 17 03:23:41 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 17 16:12:57 2010 -0700 |
tree | 2dfa1375309b3238e7a2ebbe577ce1fb6eb2f2c4 | |
parent | ebbb293f8b3021ae2009fcb7cb3b8a52fb5fd06a [diff] |
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 <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>