summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-01-03 16:46:29 +0100
committerBen Hutchings <ben@decadent.org.uk>2018-03-03 15:52:12 +0000
commitb48835ea69e3df17d95d5bdcdbbcf73a82f2df4f (patch)
tree73a536baa26ffc9d652b8000a32b7283c8cbd356 /include/linux
parentd95ab6c5767f0d172e0a2416819bfc4ac01bc4eb (diff)
net: stmmac: enable EEE in MII, GMII or RGMII only
commit 879626e3a52630316d817cbda7cec9a5446d1d82 upstream. Note in the databook - Section 4.4 - EEE : " The EEE feature is not supported when the MAC is configured to use the TBI, RTBI, SMII, RMII or SGMII single PHY interface. Even if the MAC supports multiple PHY interfaces, you should activate the EEE mode only when the MAC is operating with GMII, MII, or RGMII interface." Applying this restriction solves a stability issue observed on Amlogic gxl platforms operating with RMII interface and the internal PHY. Fixes: 83bf79b6bb64 ("stmmac: disable at run-time the EEE if not supported") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Tested-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: David S. Miller <davem@davemloft.net> [bwh: Backported to 3.16: adjst context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions