chengshan / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
883680
centosplus patch  
883680
centos-linux-4.18-mpt3sas-add-removed-IDs.patch
883680
883680
Add device IDs removed from RHEL 8 kernels
883680
883680
Applied-by: Akemi Yagi <toracat@centos.org>
883680
883680
--- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c	2019-09-26 08:14:46.000000000 -0700
883680
+++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c	2019-11-14 16:44:19.456454696 -0800
883680
@@ -10763,6 +10763,29 @@ bool scsih_ncq_prio_supp(struct scsi_dev
883680
  * The pci device ids are defined in mpi/mpi2_cnfg.h.
883680
  */
883680
 static const struct pci_device_id mpt3sas_pci_table[] = {
883680
+
883680
+	/* Spitfire ~ 2004 */
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2004,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+	/* Falcon ~ 2008 */
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2008,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+	/* Liberator ~ 2108 */
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_1,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_2,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_3,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+	/* Meteor ~ 2116 */
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2116_1,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2116_2,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+	/* SSS6200 */
883680
+	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SSS6200,
883680
+		PCI_ANY_ID, PCI_ANY_ID },
883680
+
883680
 	/* Thunderbolt ~ 2208 */
883680
 	{ MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_1,
883680
 		PCI_ANY_ID, PCI_ANY_ID },