igb: Fix link setup for I210 devices
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 6 Feb 2013 03:35:27 +0000 (03:35 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Mar 2013 09:16:45 +0000 (01:16 -0800)
commited65bdd8c0086d69948e6380dba0cc279a6906de
treea227a31357bcedb563a891f66aa095028153096d
parente4f7dbb17e797d922d72567f37de3735722034ba
igb: Fix link setup for I210 devices

This patch changes the setup copper link function to use a switch
statement for the PHY id's available for the given PHY types.  It
also adds a case for the I210 PHY id, so the appropriate setup link
function is called for it.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@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/igb/e1000_82575.c