From 1755d89c0c14ccb4b78280d41def373ff1e3c91a Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Mar 23 2022 20:24:26 +0000 Subject: Update patch --- diff --git a/SOURCES/0001-add-deprecated-ids.patch b/SOURCES/0001-add-deprecated-ids.patch index 3996c17..3bb7816 100644 --- a/SOURCES/0001-add-deprecated-ids.patch +++ b/SOURCES/0001-add-deprecated-ids.patch @@ -1,37 +1,67 @@ --- a/src/mpt3sas_scsih.c +++ b/src/mpt3sas_scsih.c -@@ -12274,6 +12274,24 @@ - * The pci device ids are defined in mpi/mpi2_cnfg.h. - */ - static const struct pci_device_id mpt3sas_pci_table[] = { -+ /* Spitfire ~ 2004 */ -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2004, -+ PCI_ANY_ID, PCI_ANY_ID }, -+ /* Falcon ~ 2008 */ -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2008, -+ PCI_ANY_ID, PCI_ANY_ID }, -+ /* Liberator ~ 2108 */ -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_1, -+ PCI_ANY_ID, PCI_ANY_ID }, -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_2, -+ PCI_ANY_ID, PCI_ANY_ID }, -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_3, -+ PCI_ANY_ID, PCI_ANY_ID }, -+ /* Meteor ~ 2116 */ -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2116_1, -+ PCI_ANY_ID, PCI_ANY_ID }, -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2116_2, -+ PCI_ANY_ID, PCI_ANY_ID }, - /* Thunderbolt ~ 2208 */ - { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_1, - PCI_ANY_ID, PCI_ANY_ID }, -@@ -12298,6 +12316,9 @@ - PCI_ANY_ID, PCI_ANY_ID }, - { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SWITCH_MPI_EP_1, - PCI_ANY_ID, PCI_ANY_ID }, -+ /* SSS6200 */ -+ { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SSS6200, -+ PCI_ANY_ID, PCI_ANY_ID }, - /* Fury ~ 3004 and 3008 */ - { MPI2_MFGPAGE_VENDORID_LSI, MPI25_MFGPAGE_DEVID_SAS3004, - PCI_ANY_ID, PCI_ANY_ID }, +@@ -12048,57 +12047,0 @@ +-static const struct pci_device_id rh_deprecated_pci_table[] = { +- /* Thunderbolt ~ 2208 */ +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_1, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_2, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_3, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_4, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_5, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2208_6, +- PCI_ANY_ID, PCI_ANY_ID }, +- /* Mustang ~ 2308 */ +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2308_1, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2308_2, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2308_3, +- PCI_ANY_ID, PCI_ANY_ID }, +- +- {0} /* Terminating entry */ +-}; +- +-static const struct pci_device_id rh_unmaintained_pci_table[] = { +- +- {0} /* Terminating entry */ +-}; +- +-static const struct pci_device_id rh_disabled_pci_table[] = { +- /* Spitfire ~ 2004 */ +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2004, +- PCI_ANY_ID, PCI_ANY_ID }, +- /* Falcon ~ 2008 */ +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2008, +- PCI_ANY_ID, PCI_ANY_ID }, +- /* Liberator ~ 2108 */ +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_1, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_2, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_3, +- PCI_ANY_ID, PCI_ANY_ID }, +- /* Meteor ~ 2116 */ +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2116_1, +- PCI_ANY_ID, PCI_ANY_ID }, +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2116_2, +- PCI_ANY_ID, PCI_ANY_ID }, +- +- /* SSS6200 */ +- { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SSS6200, +- PCI_ANY_ID, PCI_ANY_ID }, +- +- {0} /* Terminating entry */ +-}; +- +@@ -12119,6 +12061,0 @@ +- +- if (pci_hw_disabled(rh_disabled_pci_table, pdev)) +- return -ENODEV; +- +- pci_hw_deprecated(rh_deprecated_pci_table, pdev); +- pci_hw_unmaintained(rh_unmaintained_pci_table, pdev);