From: Thomas Petazzoni Date: Sun, 27 Jul 2014 21:21:35 +0000 (+0200) Subject: net: mvpp2: fix 10 Mbit/s usage X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2add511e58dc822a4573dd35280750fb3a21a2db;p=pandora-kernel.git net: mvpp2: fix 10 Mbit/s usage This commit is similar to commit 4d12bc63ab5e ("net: mvneta: fix operation in 10 Mbit/s mode"), but this time for the mvpp2 driver. The driver was properly taking into account the 1 Gbit/s and 100 Mbit/s speeds, but not the 10 Mbit/s, which was handled as 100 Mbit/s. However, the MVPP2_GMAC_CONFIG_MII_SPEED bit in the MVPP2_GMAC_AUTONEG_CONFIG register must remain cleared to allow 10 Mbit/s operation. This commit therefore fixes 10 Mbit/s operation. Signed-off-by: Thomas Petazzoni Signed-off-by: David S. Miller --- Reading git-diff-tree failed