diff options
author | avisconti <armando.visconti@st.com> | 2010-10-25 18:58:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-28 11:47:54 -0700 |
commit | 19449bfc10d163f0024dd5ae5808e28cda32e7b4 (patch) | |
tree | b32bcc4f66ac12f1a6c94d73a0ada36412cfa8a7 /drivers/net/xtsonic.c | |
parent | d1abc9a9aca06ceb795eb5405264eaafe016ec5c (diff) |
stmmac: enable/disable rx/tx in the core with a single write.
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>
Diffstat (limited to 'drivers/net/xtsonic.c')
0 files changed, 0 insertions, 0 deletions