fanghuilin / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
9dc7b3
centosplus patch
9dc7b3

9dc7b3
Ref: ELRepo patch 
9dc7b3

9dc7b3
Some device IDs are listed as 'support_removed' in RHEL kernels.
9dc7b3
Do not return error when unsupported hardware is detected.
9dc7b3

9dc7b3
--- a/drivers/scsi/megaraid/megaraid_sas_base.c	2019-03-13 11:04:53.000000000 +0000
9dc7b3
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c	2019-06-23 18:12:38.268330790 +0100
9dc7b3
@@ -6515,7 +6515,7 @@ static int megasas_probe_one(struct pci_
9dc7b3
 
9dc7b3
 	if (pci_device_support_removed(megasas_pci_table,
9dc7b3
 				megasas_pci_ids_removed, pdev))
9dc7b3
-		return -ENODEV;
9dc7b3
+		printk(KERN_DEBUG "megasas: elrepo version supporting all pci ids\n");
9dc7b3
 
9dc7b3
 	switch (pdev->device) {
9dc7b3
 	case PCI_DEVICE_ID_LSI_AERO_10E1: