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

9ab1c1
--- a/src/lpfc_ids.h
9ab1c1
+++ b/src/lpfc_ids.h
825b96
@@ -27 +26,0 @@
9ab1c1
-#ifndef CONFIG_RHEL_DIFFERENCES
825b96
@@ -58 +56,0 @@
9ab1c1
-#endif
825b96
@@ -61 +58,0 @@
9ab1c1
-#ifndef CONFIG_RHEL_DIFFERENCES
825b96
@@ -64 +60,0 @@
9ab1c1
-#endif
825b96
@@ -67 +62,0 @@
9ab1c1
-#ifndef CONFIG_RHEL_DIFFERENCES
825b96
@@ -70 +64,0 @@
9ab1c1
-#endif
825b96
@@ -79 +72,0 @@
9ab1c1
-#ifndef CONFIG_RHEL_DIFFERENCES
825b96
@@ -90 +82,0 @@
9ab1c1
-#endif
825b96
@@ -103 +94,0 @@
9ab1c1
-#ifndef CONFIG_RHEL_DIFFERENCES
825b96
@@ -114 +104,0 @@
9ab1c1
-#endif
825b96
@@ -117 +106,0 @@
9ab1c1
-#ifndef CONFIG_RHEL_DIFFERENCES
825b96
@@ -120 +108,0 @@
9ab1c1
-#endif
825b96
@@ -123 +110,0 @@
9ab1c1
-#ifndef CONFIG_RHEL_DIFFERENCES
825b96
@@ -130 +116,0 @@
825b96
-#endif
825b96
@@ -144,4 +129,0 @@
825b96
-#ifdef CONFIG_RHEL_DIFFERENCES
825b96
-static const struct pci_device_id rh_deprecated_pci_table[] = {
825b96
-	{ 0 }
825b96
-};
825b96
@@ -149,20 +130,0 @@
825b96
-static const struct pci_device_id rh_unmaintained_pci_table[] = {
825b96
-	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SKYHAWK,
825b96
-		PCI_ANY_ID, PCI_ANY_ID, },
825b96
-	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FC,
825b96
-		PCI_ANY_ID, PCI_ANY_ID, },
825b96
-	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT,
825b96
-		PCI_ANY_ID, PCI_ANY_ID, },
825b96
-	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT_MID,
825b96
-		PCI_ANY_ID, PCI_ANY_ID, },
825b96
-	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT_SMB,
825b96
-		PCI_ANY_ID, PCI_ANY_ID, },
825b96
-	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT_S,
825b96
-		PCI_ANY_ID, PCI_ANY_ID, },
825b96
-	{ 0 }
825b96
-};
825b96
-
825b96
-static const struct pci_device_id rh_disabled_pci_table[] = {
825b96
-	{ 0 }
825b96
-};
825b96
-#endif
825b96
--- a/src/lpfc_init.c
825b96
+++ b/src/lpfc_init.c
825b96
@@ -15276,7 +15275,0 @@
825b96
-#ifdef CONFIG_RHEL_DIFFERENCES
825b96
-	if (pci_hw_disabled(rh_disabled_pci_table, pdev))
825b96
-		return -ENODEV;
825b96
-
825b96
-	pci_hw_deprecated(rh_deprecated_pci_table, pdev);
825b96
-	pci_hw_unmaintained(rh_unmaintained_pci_table, pdev);
9ab1c1
-#endif