]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Limit forced overrides based on FW version
authorJeb Cramer <jeb.j.cramer@intel.com>
Thu, 25 Mar 2021 22:35:13 +0000 (15:35 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 8 Apr 2021 00:09:16 +0000 (17:09 -0700)
commit36b72cf71e7362cd8802d3a8d151e3722ee1c782
tree0233c04d8e1c4d9553ef35683f3716f85d0c4887
parent4c70cee460e2b90433278765d103fd50a7b4655e
ice: Limit forced overrides based on FW version

Beyond a specific version of firmware, there is no need to provide
override values to the firmware when setting PHY capabilities.  In this
case, we do not need to indicate whether we're in Strict or Lenient Link
Mode.

In the case of translating capabilities to the configuration structure,
the module compliance enforcement is already correctly set by firmware,
so the extra code block is redundant.

Signed-off-by: Jeb Cramer <jeb.j.cramer@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c