mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ice: support features on new E810T variants
Add new sub-device ids required for proper initialization of features on E810T devices supported by ice driver. Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com> Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
43c4958a3d
commit
793189a2fc
2 changed files with 21 additions and 2 deletions
|
@ -182,9 +182,23 @@ bool ice_is_e810t(struct ice_hw *hw)
|
|||
{
|
||||
switch (hw->device_id) {
|
||||
case ICE_DEV_ID_E810C_SFP:
|
||||
if (hw->subsystem_device_id == ICE_SUBDEV_ID_E810T ||
|
||||
hw->subsystem_device_id == ICE_SUBDEV_ID_E810T2)
|
||||
switch (hw->subsystem_device_id) {
|
||||
case ICE_SUBDEV_ID_E810T:
|
||||
case ICE_SUBDEV_ID_E810T2:
|
||||
case ICE_SUBDEV_ID_E810T3:
|
||||
case ICE_SUBDEV_ID_E810T4:
|
||||
case ICE_SUBDEV_ID_E810T6:
|
||||
case ICE_SUBDEV_ID_E810T7:
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case ICE_DEV_ID_E810C_QSFP:
|
||||
switch (hw->subsystem_device_id) {
|
||||
case ICE_SUBDEV_ID_E810T2:
|
||||
case ICE_SUBDEV_ID_E810T3:
|
||||
case ICE_SUBDEV_ID_E810T5:
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -24,6 +24,11 @@
|
|||
#define ICE_DEV_ID_E810C_SFP 0x1593
|
||||
#define ICE_SUBDEV_ID_E810T 0x000E
|
||||
#define ICE_SUBDEV_ID_E810T2 0x000F
|
||||
#define ICE_SUBDEV_ID_E810T3 0x0010
|
||||
#define ICE_SUBDEV_ID_E810T4 0x0011
|
||||
#define ICE_SUBDEV_ID_E810T5 0x0012
|
||||
#define ICE_SUBDEV_ID_E810T6 0x02E9
|
||||
#define ICE_SUBDEV_ID_E810T7 0x02EA
|
||||
/* Intel(R) Ethernet Controller E810-XXV for backplane */
|
||||
#define ICE_DEV_ID_E810_XXV_BACKPLANE 0x1599
|
||||
/* Intel(R) Ethernet Controller E810-XXV for QSFP */
|
||||
|
|
Loading…
Add table
Reference in a new issue