Blame SOURCES/0001-add-deprecated-ids.patch

7ecbca
--- a/src/megaraid_sas_base.c
7ecbca
+++ b/src/megaraid_sas_base.c
2b4f3d
@@ -147,40 +146,0 @@
2b4f3d
-#ifdef CONFIG_RHEL_DIFFERENCES
2b4f3d
-static const struct pci_device_id rh_deprecated_pci_table[] = {
2b4f3d
-
2b4f3d
-	{0}     /* Terminating entry */
2b4f3d
-};
2b4f3d
-
2b4f3d
-static const struct pci_device_id rh_unmaintained_pci_table[] = {
2b4f3d
-
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS0079GEN2)},
2b4f3d
-	/* gen2*/
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS0073SKINNY)},
2b4f3d
-	/* skinny*/
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS0071SKINNY)},
2b4f3d
-	/* skinny*/
2b4f3d
-
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FUSION)},
2b4f3d
-	/* Fusion */
2b4f3d
-
2b4f3d
-	{0}     /* Terminating entry */
2b4f3d
-};
2b4f3d
-
2b4f3d
-static const struct pci_device_id rh_disabled_pci_table[] = {
2b4f3d
-
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1064R)},
2b4f3d
-	/* xscale IOP */
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078R)},
2b4f3d
-	/* ppc IOP */
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078DE)},
2b4f3d
-	/* ppc IOP */
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078GEN2)},
2b4f3d
-	/* gen2*/
2b4f3d
-
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_VERDE_ZCR)},
2b4f3d
-	/* xscale IOP, vega */
2b4f3d
-	{PCI_DEVICE(PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_PERC5)},
2b4f3d
-	/* xscale IOP */
2b4f3d
-
2b4f3d
-	{0}     /* Terminating entry */
2b4f3d
-};
7ecbca
-#endif
2b4f3d
@@ -7506,7 +7465,0 @@
2b4f3d
-#ifdef CONFIG_RHEL_DIFFERENCES
2b4f3d
-	if (pci_hw_disabled(rh_disabled_pci_table, pdev))
2b4f3d
-		return -ENODEV;
2b4f3d
-
2b4f3d
-	pci_hw_deprecated(rh_deprecated_pci_table, pdev);
2b4f3d
-	pci_hw_unmaintained(rh_unmaintained_pci_table, pdev);
7ecbca
-#endif