e1000e: fix Rapid Start Technology support for i217
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 10 May 2012 02:51:17 +0000 (02:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 2 Jun 2012 07:12:33 +0000 (00:12 -0700)
commit6d7407bfba0b4eb21d843ff1f9e9c86156e502b2
treee2ae0f8f0043671f19c7298c826f7fc26b1cd9c0
parent281a8f2462fe3cd2395902955205621e2c519464
e1000e: fix Rapid Start Technology support for i217

The definition of I217_PROXY_CTRL must use the BM_PHY_REG() macro instead
of the PHY_REG() macro for PHY page 800 register 70 since it is for a PHY
register greater than the maximum allowed by the latter macro, and fix a
typo setting the I217_MEMPWR register in e1000_suspend_workarounds_ich8lan.

Also for clarity, rename a few defines as bit definitions instead of masks.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c