diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-09-17 03:23:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-17 16:12:57 -0700 |
commit | c629882ac73cab2cd41d9948caeed633fc570fc0 (patch) | |
tree | 2dfa1375309b3238e7a2ebbe577ce1fb6eb2f2c4 /drivers/net/wd.c | |
parent | ebbb293f8b3021ae2009fcb7cb3b8a52fb5fd06a (diff) | |
download | talos-obmc-linux-c629882ac73cab2cd41d9948caeed633fc570fc0.tar.gz talos-obmc-linux-c629882ac73cab2cd41d9948caeed633fc570fc0.zip |
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>
Diffstat (limited to 'drivers/net/wd.c')
0 files changed, 0 insertions, 0 deletions