diff mbox series

[SRU,F,v4,1/1] ice: add additional E810 device id

Message ID 20210601155951.17970-2-michael.reed@canonical.com
State New
Headers show
Series ice: add additional E810 device id | expand

Commit Message

Michael Reed June 1, 2021, 3:59 p.m. UTC
From: Bruce Allan <bruce.w.allan@intel.com>

Add support for device id 0x159b.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 195fb97766da1b41b4d49bccc37e13603bcb49cc)
Signed-off-by: Michael Reed <Michael.Reed@canonical.com>

BugLink:  https://bugs.launchpad.net/bugs/1912511
---
 drivers/net/ethernet/intel/ice/ice_devids.h | 2 ++
 drivers/net/ethernet/intel/ice/ice_main.c   | 1 +
 2 files changed, 3 insertions(+)

Comments

Krzysztof Kozlowski June 1, 2021, 4:10 p.m. UTC | #1
On 01/06/2021 17:59, Michael Reed wrote:
> From: Bruce Allan <bruce.w.allan@intel.com>
> 
> Add support for device id 0x159b.
> 
> Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
> Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> (cherry picked from commit 195fb97766da1b41b4d49bccc37e13603bcb49cc)
> Signed-off-by: Michael Reed <Michael.Reed@canonical.com>
> 
> BugLink:  https://bugs.launchpad.net/bugs/1912511

Thanks for the changes. One more note: by convention BugLink should be
at beginning of commit msg, but that can be fixed while applying.

> ---
>  drivers/net/ethernet/intel/ice/ice_devids.h | 2 ++
>  drivers/net/ethernet/intel/ice/ice_main.c   | 1 +
>  2 files changed, 3 insertions(+)
> 
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/drivers/net/ethernet/intel/ice/ice_devids.h b/drivers/net/ethernet/intel/ice/ice_devids.h
index f8d5c661d0ba..862a5caa760f 100644
--- a/drivers/net/ethernet/intel/ice/ice_devids.h
+++ b/drivers/net/ethernet/intel/ice/ice_devids.h
@@ -11,5 +11,7 @@ 
 #define ICE_DEV_ID_E810C_QSFP		0x1592
 /* Intel(R) Ethernet Controller E810-C for SFP */
 #define ICE_DEV_ID_E810C_SFP		0x1593
+/* Intel(R) Ethernet Controller E810-XXV for SFP */
+#define ICE_DEV_ID_E810_XXV_SFP		0x159B
 
 #endif /* _ICE_DEVIDS_H_ */
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index d0ccb7ad447b..bfab9bc34d4b 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -3179,6 +3179,7 @@  static const struct pci_device_id ice_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_BACKPLANE), 0 },
 	{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_QSFP), 0 },
 	{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_SFP), 0 },
+	{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810_XXV_SFP), 0 },
 	/* required last entry */
 	{ 0, }
 };