Skip to contentSkip to conversation

scsi: mpt3sas: add device ID 0x009f for SAS9300-4i4e

PATCH New Ivy Lopez 1 participant 1 message Aug 16

Subsystems (2)
lore
Share & tools
lore

Ivy Lopez

author
#0 lore raw

PATCH 1/1 scsi: mpt3sas: add device ID 0x009f for SAS9300-4i4e

Add PCI device ID 0x009f (MPI25_MFGPAGE_DEVID_SAS3008_1) to the supported device table. This is a Fury/3008-family variant found on some SAS9300-4i4e cards sourced from the resale market, distinct from the more common 0x0097 ID used by most 4i4e cards.

---
 drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 1 +
 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 3 +++
 2 files changed, 4 insertions(+)
drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h +1 -0
index 02bf26ca976e..6d7c5bc13377 100644
@@ -563,6 +563,7 @@ typedef struct _MPI2_CONFIG_REPLY {
 /*MPI v2.5 SAS products */
 #define MPI25_MFGPAGE_DEVID_SAS3004                 (0x0096)
 #define MPI25_MFGPAGE_DEVID_SAS3008                 (0x0097)
+#define MPI25_MFGPAGE_DEVID_SAS3008_1				(0x009F)
 #define MPI25_MFGPAGE_DEVID_SAS3108_1               (0x0090)
 #define MPI25_MFGPAGE_DEVID_SAS3108_2               (0x0091)
 #define MPI25_MFGPAGE_DEVID_SAS3108_5               (0x0094)
drivers/scsi/mpt3sas/mpt3sas_scsih.c +3 -0
index 12caffeed3a0..9122ee86446c 100644
@@ -13303,6 +13303,7 @@ _scsih_determine_hba_mpi_version(struct pci_dev *pdev)
 		return MPI2_VERSION;
 	case MPI25_MFGPAGE_DEVID_SAS3004:
 	case MPI25_MFGPAGE_DEVID_SAS3008:
+	case MPI25_MFGPAGE_DEVID_SAS3008_1:
 	case MPI25_MFGPAGE_DEVID_SAS3108_1:
 	case MPI25_MFGPAGE_DEVID_SAS3108_2:
 	case MPI25_MFGPAGE_DEVID_SAS3108_5:
@@ -13907,6 +13908,8 @@ static const struct pci_device_id mpt3sas_pci_table[] = {
 		PCI_ANY_ID, PCI_ANY_ID },
 	{ MPI2_MFGPAGE_VENDORID_LSI, MPI25_MFGPAGE_DEVID_SAS3008,
 		PCI_ANY_ID, PCI_ANY_ID },
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI25_MFGPAGE_DEVID_SAS3008_1,
+		PCI_ANY_ID, PCI_ANY_ID },
 	/* Invader ~ 3108 */
 	{ MPI2_MFGPAGE_VENDORID_LSI, MPI25_MFGPAGE_DEVID_SAS3108_1,
 		PCI_ANY_ID, PCI_ANY_ID },
Signature · 1 line
2.55.0