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)
commit5e999fb43ebb5a64554890cda57edc1edd68a2ab
tree63eecb8f0a85273c87187de8901f5425d7fba2ab
parentb09457e7a1d6e8d311b5342475d267087c4970a6
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