From: David Ertman Date: Fri, 11 Jul 2014 06:20:51 +0000 (+0000) Subject: e1000e: Add support for EEE in Sx states X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~76^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c1e6bf1c8522a6c6c8f29226a1e2cf126431df;p=pandora-kernel.git e1000e: Add support for EEE in Sx states On I217 and newer hardware, EEE is enabled in the PHY by the software when link is up and disabled by the hardware when link is lost. To enable EEE in Sx (When both ends of the link support, and are enabled for, EEE and 100Mbps), we need to disable LPLU and configure the PHY to automatically enable EEE when link is up, since there will be no software to complete the task. To configure this in the PHY, the Auto Enable LPI bit in the Low Power Idle GPIO Control register must be set. For normal operation in S0, this bit must be cleared. Signed-off-by: Dave Ertman Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed