i40e: Reassign incorrect PHY type to fix a FW bug
authorCatherine Sullivan <catherine.sullivan@intel.com>
Thu, 26 Feb 2015 16:14:12 +0000 (16:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 5 Mar 2015 13:25:18 +0000 (05:25 -0800)
commit088c4ee370ecc5c7ce2681e75b78429825c860bf
treee88f156104e4384a568d8ed24c1d26e55b0bdd3b
parent9a660eeae2779cea72ef306b721273a0e951e7d7
i40e: Reassign incorrect PHY type to fix a FW bug

Some FW versions are incorrectly reporting a breakout cable as PHY type
0x3 when it should be 0x16 (I40E_PHY_TYPE_10GBASE_SFPP_CU).
If we get this value back from FW and the version is < 4.40, reassign it
to I40E_PHY_TYPE_10GBASE_SFPP_CU.

Change-ID: Ibb41a0e3cd2c0753744e8553959240df6ed13ae8
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c