stmmac: enable/disable rx/tx in the core with a single write.
authoravisconti <armando.visconti@st.com>
Mon, 25 Oct 2010 18:58:14 +0000 (18:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2010 18:47:54 +0000 (11:47 -0700)
This patch enables and disables the rx and tx bits in the MAC control reg
by using a single write operation.
This also solves a possible problem (spotted on SPEAr platforms) at 10Mbps
where two consecutive writes to a MAC control register can take more than
4 phy_clk cycles.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found