Comments

From: Bruce Allan <bruce.w.allan@intel.com>
BugLink: http://bugs.launchpad.net/bugs/1206757
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>
(cherry picked from commit 16b095a413fc6567a56e6e41909a8757e74acbc3 in linux-next)
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
---
drivers/net/ethernet/intel/e1000e/ich8lan.c | 83 ++++++++++++++++-----------
1 file changed, 50 insertions(+), 33 deletions(-)