summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_common.c
diff options
context:
space:
mode:
authorAlice Michael <alice.michael@intel.com>2019-10-23 03:19:57 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-11-04 13:19:42 -0800
commit3df5b9a6a9ec3c1e4431bf1db3426b54dc92dd91 (patch)
treeaa9f4c0092dbc40283fe82374a04989d7847c251 /drivers/net/ethernet/intel/i40e/i40e_common.c
parent07066d9dc3d2326fbad8f7b0cb0120cff7b7dedb (diff)
downloadlinux-stable-3df5b9a6a9ec3c1e4431bf1db3426b54dc92dd91.tar.gz
linux-stable-3df5b9a6a9ec3c1e4431bf1db3426b54dc92dd91.tar.bz2
linux-stable-3df5b9a6a9ec3c1e4431bf1db3426b54dc92dd91.zip
i40e: enable X710 support
The I40E_DEV_ID_10G_BASE_T_BC device id was added previously, but was not enabled in all the appropriate places. Adding it to enable it's use. Signed-off-by: Alice Michael <alice.michael@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_common.c')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c
index 8b25a6d9c81d..a0791447849a 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_common.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_common.c
@@ -29,6 +29,7 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
case I40E_DEV_ID_QSFP_C:
case I40E_DEV_ID_10G_BASE_T:
case I40E_DEV_ID_10G_BASE_T4:
+ case I40E_DEV_ID_10G_BASE_T_BC:
case I40E_DEV_ID_10G_B:
case I40E_DEV_ID_10G_SFP:
case I40E_DEV_ID_20G_KR2:
@@ -4910,6 +4911,7 @@ i40e_status i40e_write_phy_register(struct i40e_hw *hw,
break;
case I40E_DEV_ID_10G_BASE_T:
case I40E_DEV_ID_10G_BASE_T4:
+ case I40E_DEV_ID_10G_BASE_T_BC:
case I40E_DEV_ID_10G_BASE_T_X722:
case I40E_DEV_ID_25G_B:
case I40E_DEV_ID_25G_SFP28: