commit | eb0dc4bb2e22c04964d6e9545e86f629f117108b | [log] [tgz] |
---|---|---|
author | Shiraz Hashim <shiraz.hashim@st.com> | Sun Jul 17 20:54:08 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 18 10:47:24 2011 -0700 |
tree | c0684b04a86f72d204c8e4e6f28b07ea410e2243 | |
parent | bab632d69ee48a106e779b60cc01adfe80a72807 [diff] |
stmmac: add memory barriers at appropriate places This patch, provided by ST SPEAr developers, has fixed a problem raised on ARM CA9 where happened that the dma_transmission was enabled before the dma descriptors were properly filled. To guarantee this data memory barriers have been explicity used in the driver. Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>