From: avisconti Date: Mon, 25 Oct 2010 18:58:14 +0000 (+0000) Subject: stmmac: enable/disable rx/tx in the core with a single write. X-Git-Tag: v2.6.37-rc1~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19449bfc10d163f0024dd5ae5808e28cda32e7b4;p=pandora-kernel.git 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 Acked-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed