diff --git a/SOURCES/0001-add-deprecated-ids.patch b/SOURCES/0001-add-deprecated-ids.patch index 391db8b..34586f5 100644 --- a/SOURCES/0001-add-deprecated-ids.patch +++ b/SOURCES/0001-add-deprecated-ids.patch @@ -1,25 +1,14 @@ --- a/src/hpsa.c +++ b/src/hpsa.c -@@ -82,9 +82,7 @@ - HPSA_DRIVER_VERSION); - MODULE_VERSION(HPSA_DRIVER_VERSION); - MODULE_LICENSE("GPL"); +@@ -85 +84,0 @@ -#ifndef CONFIG_RHEL_DIFFERENCES - MODULE_ALIAS("cciss"); +@@ -87 +85,0 @@ -#endif - - static int hpsa_simple_mode; - module_param(hpsa_simple_mode, int, S_IRUGO|S_IWUSR); -@@ -146,12 +144,10 @@ - {PCI_VENDOR_ID_HP_3PAR, 0x0075, 0x1590, 0x007D}, - {PCI_VENDOR_ID_HP_3PAR, 0x0075, 0x1590, 0x0088}, - {PCI_VENDOR_ID_HP, 0x333f, 0x103c, 0x333f}, +@@ -149 +146,0 @@ -#ifndef CONFIG_RHEL_DIFFERENCES - {PCI_VENDOR_ID_HP, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, - PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0}, - {PCI_VENDOR_ID_COMPAQ, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, - PCI_CLASS_STORAGE_RAID << 8, 0xffff << 8, 0}, +@@ -154 +150,0 @@ +-#endif +@@ -8676,3 +8671,0 @@ +-#ifdef CONFIG_RHEL_DIFFERENCES +- pci_hw_unmaintained(hpsa_pci_device_id, pdev); -#endif - {0,} - }; -