Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ice: add E835 device IDs

E835 is an enhanced version of the E830.
It continues to use the same set of commands, registers and interfaces
as other devices in the 800 Series.

Following device IDs are added:
- 0x1248: Intel(R) Ethernet Controller E835-CC for backplane
- 0x1249: Intel(R) Ethernet Controller E835-CC for QSFP
- 0x124A: Intel(R) Ethernet Controller E835-CC for SFP
- 0x1261: Intel(R) Ethernet Controller E835-C for backplane
- 0x1262: Intel(R) Ethernet Controller E835-C for QSFP
- 0x1263: Intel(R) Ethernet Controller E835-C for SFP
- 0x1265: Intel(R) Ethernet Controller E835-L for backplane
- 0x1266: Intel(R) Ethernet Controller E835-L for QSFP
- 0x1267: Intel(R) Ethernet Controller E835-L for SFP

Reviewed-by: Konrad Knitter <konrad.knitter@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com>
Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>

authored by

Dawid Osuchowski and committed by
Tony Nguyen
0146da53 9419c438

+36
+9
drivers/net/ethernet/intel/ice/ice_common.c
··· 171 171 case ICE_DEV_ID_E830_XXV_QSFP: 172 172 case ICE_DEV_ID_E830C_SFP: 173 173 case ICE_DEV_ID_E830_XXV_SFP: 174 + case ICE_DEV_ID_E835CC_BACKPLANE: 175 + case ICE_DEV_ID_E835CC_QSFP56: 176 + case ICE_DEV_ID_E835CC_SFP: 177 + case ICE_DEV_ID_E835C_BACKPLANE: 178 + case ICE_DEV_ID_E835C_QSFP: 179 + case ICE_DEV_ID_E835C_SFP: 180 + case ICE_DEV_ID_E835_L_BACKPLANE: 181 + case ICE_DEV_ID_E835_L_QSFP: 182 + case ICE_DEV_ID_E835_L_SFP: 174 183 hw->mac_type = ICE_MAC_E830; 175 184 break; 176 185 default:
+18
drivers/net/ethernet/intel/ice/ice_devids.h
··· 6 6 7 7 /* Device IDs */ 8 8 #define ICE_DEV_ID_E822_SI_DFLT 0x1888 9 + /* Intel(R) Ethernet Controller E835-CC for backplane */ 10 + #define ICE_DEV_ID_E835CC_BACKPLANE 0x1248 11 + /* Intel(R) Ethernet Controller E835-CC for QSFP */ 12 + #define ICE_DEV_ID_E835CC_QSFP56 0x1249 13 + /* Intel(R) Ethernet Controller E835-CC for SFP */ 14 + #define ICE_DEV_ID_E835CC_SFP 0x124A 15 + /* Intel(R) Ethernet Controller E835-C for backplane */ 16 + #define ICE_DEV_ID_E835C_BACKPLANE 0x1261 17 + /* Intel(R) Ethernet Controller E835-C for QSFP */ 18 + #define ICE_DEV_ID_E835C_QSFP 0x1262 19 + /* Intel(R) Ethernet Controller E835-C for SFP */ 20 + #define ICE_DEV_ID_E835C_SFP 0x1263 21 + /* Intel(R) Ethernet Controller E835-L for backplane */ 22 + #define ICE_DEV_ID_E835_L_BACKPLANE 0x1265 23 + /* Intel(R) Ethernet Controller E835-L for QSFP */ 24 + #define ICE_DEV_ID_E835_L_QSFP 0x1266 25 + /* Intel(R) Ethernet Controller E835-L for SFP */ 26 + #define ICE_DEV_ID_E835_L_SFP 0x1267 9 27 /* Intel(R) Ethernet Connection E823-L for backplane */ 10 28 #define ICE_DEV_ID_E823L_BACKPLANE 0x124C 11 29 /* Intel(R) Ethernet Connection E823-L for SFP */
+9
drivers/net/ethernet/intel/ice/ice_main.c
··· 5897 5897 { PCI_VDEVICE(INTEL, ICE_DEV_ID_E830_XXV_QSFP), }, 5898 5898 { PCI_VDEVICE(INTEL, ICE_DEV_ID_E830C_SFP), }, 5899 5899 { PCI_VDEVICE(INTEL, ICE_DEV_ID_E830_XXV_SFP), }, 5900 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835CC_BACKPLANE), }, 5901 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835CC_QSFP56), }, 5902 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835CC_SFP), }, 5903 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835C_BACKPLANE), }, 5904 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835C_QSFP), }, 5905 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835C_SFP), }, 5906 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835_L_BACKPLANE), }, 5907 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835_L_QSFP), }, 5908 + { PCI_VDEVICE(INTEL, ICE_DEV_ID_E835_L_SFP), }, 5900 5909 /* required last entry */ 5901 5910 {} 5902 5911 };