]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Remove MAC X550EM_X 1Gbase-t led_[on|off] support
authorPaul Greenwalt <paul.greenwalt@intel.com>
Fri, 21 Apr 2017 09:37:13 +0000 (05:37 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 May 2017 11:31:43 +0000 (04:31 -0700)
commit0d543a2377bc07b21f51cfefe74c889b8692d926
tree63eecb8f0a85273c87187de8901f5425d7fba2ab
parent93b8e4e02b87d3fcd3103f38f64c0c85d6a15cb6
ixgbe: Remove MAC X550EM_X 1Gbase-t led_[on|off] support

Since FW configures the PHY and MAC X550EM_X has no
PHY access, led_[on|off] is not supported with the 1Gbase-t design.

Removed MAC X550EM_X 1Gbase-t led_[on|off] support by setting
function pointers to NULL and added NULL pointer checks. Also set
init_led_link_act to NULL and added NULL pointer check.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c