]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: do not enter PHY debug mode while setting LEDs behaviour
authorMariusz Stachura <mariusz.stachura@intel.com>
Tue, 29 Aug 2017 09:32:40 +0000 (05:32 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Oct 2017 15:11:32 +0000 (08:11 -0700)
commit5c1c9bfe9386eb59fe9c471ad5b278d0c76cbd09
tree69c0405eced47a04d882d626ccca8cd479faee61
parentd55bd3dc9c2b2f44fc3d63974760cf5fd4a60ff1
i40e: do not enter PHY debug mode while setting LEDs behaviour

Previous implementation of LED set/get functions required to enter
PHY debug mode, in order to prevent access to it from FW and SW at
the same time. Reset of all ports was a unwanted side effect.

Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c