diff --git a/SOURCES/0001-add-deprecated-ids.patch b/SOURCES/0001-add-deprecated-ids.patch index 730cda3..785b235 100644 --- a/SOURCES/0001-add-deprecated-ids.patch +++ b/SOURCES/0001-add-deprecated-ids.patch @@ -1,7 +1,6 @@ --- a/src/megaraid_sas_base.c +++ b/src/megaraid_sas_base.c -@@ -141,3 +141,10 @@ - static struct pci_device_id megasas_pci_table[] = { +@@ -142 +142,8 @@ - + {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1064R)}, + /* xscale IOP */ @@ -11,19 +10,13 @@ + /* ppc IOP */ + {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078GEN2)}, + /* gen2*/ - {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS0079GEN2)}, -@@ -148,2 +155,6 @@ - /* skinny*/ +@@ -148,0 +156,4 @@ + {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_VERDE_ZCR)}, + /* xscale IOP, vega */ + {PCI_DEVICE(PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_PERC5)}, + /* xscale IOP */ - {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FUSION)}, -@@ -183,13 +194,0 @@ --/* -- * PCI ID table for all unsupported controllers -- */ --static struct pci_device_id unsupported_ids_table[] = { +@@ -183,18 +193,0 @@ +-static struct pci_device_id rh_unmaintained_pci_table[] = { - - {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS0079GEN2)}, - /* gen2*/ @@ -33,5 +26,15 @@ - /* skinny*/ - {} -}; -@@ -7403 +7401,0 @@ -- pci_hw_deprecated(unsupported_ids_table, pdev); +- +-static struct pci_device_id rh_deprecated_pci_table[] = { +- +- {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FUSION)}, +- /* Fusion */ +- {} +-}; +- +@@ -7406,3 +7398,0 @@ +- +- pci_hw_deprecated(rh_deprecated_pci_table, pdev); +- pci_hw_unmaintained(rh_unmaintained_pci_table, pdev);