]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
i40e: Fix led blink capability for 10GBaseT PHY
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Thu, 18 Feb 2016 00:12:12 +0000 (16:12 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Feb 2016 07:36:42 +0000 (23:36 -0800)
commit31b606d0c40a1435c54bff18e4d3d3c33af1c3cf
tree9f494932f163a64ff1056a5992bcf43dbd7ee5cf
parentfd077cd3399b164548f538625f07f3e9f1d7ef00
i40e: Fix led blink capability for 10GBaseT PHY

This patch fixes a problem where the ethtool identify adapter
functionality did not work for some copper PHY's.  Without this
patch, the blink led functionality fails on some parts.  This
patch adds PHY write code to blink led's on parts where this
functionality is contained in the PHY rather than the MAC.

Change-ID: Iee7b3453f61d5ffd0b3d03f720ee4f17f919fcc2
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@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.h
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c