summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40e/i40e_devids.h
diff options
context:
space:
mode:
authorDamian Milosek <damian.milosek@intel.com>2019-09-20 02:17:23 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-10-25 13:38:19 -0700
commitd80a476f4a12a84feaebfed993f3039fdc9c1249 (patch)
tree0f728c97286c6b3e4caceb716ca7e53345c734d9 /drivers/net/ethernet/intel/i40e/i40e_devids.h
parentcdb89f15bd4667bfc492b7d5afc6ba2902b54d4e (diff)
i40e: Fix LED blinking flow for X710T*L devices
Add X710T*L device specific operations (in port LED detection and handling of GLGEN_GPIO_CTL.PIN_FUNC field) to enable LED blinking. Signed-off-by: Damian Milosek <damian.milosek@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_devids.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_devids.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_devids.h b/drivers/net/ethernet/intel/i40e/i40e_devids.h
index bac4da031f9b..bf15a868292f 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_devids.h
+++ b/drivers/net/ethernet/intel/i40e/i40e_devids.h
@@ -23,6 +23,8 @@
#define I40E_DEV_ID_10G_BASE_T_BC 0x15FF
#define I40E_DEV_ID_10G_B 0x104F
#define I40E_DEV_ID_10G_SFP 0x104E
+#define I40E_IS_X710TL_DEVICE(d) \
+ ((d) == I40E_DEV_ID_10G_BASE_T_BC)
#define I40E_DEV_ID_KX_X722 0x37CE
#define I40E_DEV_ID_QSFP_X722 0x37CF
#define I40E_DEV_ID_SFP_X722 0x37D0