From 06d92824d2ce431b309420b16fc8b2573a3949e6 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Feb 13 2022 17:36:51 +0000 Subject: Update patches --- diff --git a/SOURCES/0001-add-deprecated-ids.patch b/SOURCES/0001-add-deprecated-ids.patch index 43fab86..9898d17 100644 --- a/SOURCES/0001-add-deprecated-ids.patch +++ b/SOURCES/0001-add-deprecated-ids.patch @@ -1,21 +1,9 @@ --- a/src/mptsas.c +++ b/src/mptsas.c -@@ -5386,10 +5386,6 @@ - } - - static struct pci_device_id mptsas_pci_table[] = { +@@ -5388,4 +5387,0 @@ -#ifdef CONFIG_RHEL_DIFFERENCES - { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_SAS1068, - PCI_VENDOR_ID_VMWARE, PCI_ANY_ID }, -#else - { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_SAS1064, - PCI_ANY_ID, PCI_ANY_ID }, - { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_SAS1068, -@@ -5402,7 +5398,6 @@ - PCI_ANY_ID, PCI_ANY_ID }, - { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_SAS1068_820XELP, - PCI_ANY_ID, PCI_ANY_ID }, +@@ -5404 +5399,0 @@ -#endif - {0} /* Terminating entry */ - }; - MODULE_DEVICE_TABLE(pci, mptsas_pci_table); diff --git a/SOURCES/0002-remove-unsupported-warning.patch b/SOURCES/0002-remove-unsupported-warning.patch index e096d7b..c61aa6c 100644 --- a/SOURCES/0002-remove-unsupported-warning.patch +++ b/SOURCES/0002-remove-unsupported-warning.patch @@ -1,14 +1,6 @@ --- a/src/mptsas.c +++ b/src/mptsas.c -@@ -5318,11 +5318,6 @@ - ioc, MPI_SAS_OP_CLEAR_ALL_PERSISTENT); - } - +@@ -5166,3 +5165,0 @@ -#ifdef CONFIG_RHEL_DIFFERENCES -- add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK); -- pr_warn("MPTSAS MODULE IS NOT SUPPORTED\n"); +- mark_driver_unmaintained(MYNAM); -#endif -- - error = scsi_add_host(sh, &ioc->pcidev->dev); - if (error) { - dprintk(ioc, printk(MYIOC_s_ERR_FMT