e1000e: fix I217/I218 PHY initialization flow
commit16b095a413fc6567a56e6e41909a8757e74acbc3
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 29 Jun 2013 07:42:39 +0000 (29 07:42 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 28 Jul 2013 11:02:05 +0000 (28 04:02 -0700)
treefaadc0b2692375aa51189bb198d9a2c9859a1fe0
parent97390ab86b2bcc53c124a1541c86ea0eba1a051f
e1000e: fix I217/I218 PHY initialization flow

The initialization of the PHY on I217/I218, while similar to 82579, must
also check to see if the MAC and PHY are in the same mode (PCIe vs. SMBus)
otherwise the PHY will be inaccessible by the MAC.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c