You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
2.0 KiB
52 lines
2.0 KiB
1 month ago
|
From f9ab10cebe6411dd26fec2ef354db2e527386b4f Mon Sep 17 00:00:00 2001
|
||
|
From: Andrew Lukoshko <alukoshko@almalinux.org>
|
||
|
Date: Mon, 8 Apr 2024 13:20:29 +0000
|
||
|
Subject: [PATCH 3/4] Bring back deprecated pci ids to hpsa driver
|
||
|
|
||
|
---
|
||
|
drivers/scsi/hpsa.c | 9 +++++----
|
||
|
1 file changed, 5 insertions(+), 4 deletions(-)
|
||
|
|
||
|
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
|
||
|
index bd5880cbd..060bd914a 100644
|
||
|
--- a/drivers/scsi/hpsa.c
|
||
|
+++ b/drivers/scsi/hpsa.c
|
||
|
@@ -82,9 +82,7 @@ MODULE_DESCRIPTION("Driver for HP Smart Array Controller version " \
|
||
|
HPSA_DRIVER_VERSION);
|
||
|
MODULE_VERSION(HPSA_DRIVER_VERSION);
|
||
|
MODULE_LICENSE("GPL");
|
||
|
-#ifndef CONFIG_RHEL_DIFFERENCES
|
||
|
MODULE_ALIAS("cciss");
|
||
|
-#endif
|
||
|
|
||
|
static int hpsa_simple_mode;
|
||
|
module_param(hpsa_simple_mode, int, S_IRUGO|S_IWUSR);
|
||
|
@@ -93,6 +91,11 @@ MODULE_PARM_DESC(hpsa_simple_mode,
|
||
|
|
||
|
/* define the PCI info for the cards we can control */
|
||
|
static const struct pci_device_id hpsa_pci_device_id[] = {
|
||
|
+ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3223},
|
||
|
+ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3234},
|
||
|
+ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3235},
|
||
|
+ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3237},
|
||
|
+ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x323D},
|
||
|
{PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3241},
|
||
|
{PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3243},
|
||
|
{PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3245},
|
||
|
@@ -146,12 +149,10 @@ static const struct pci_device_id hpsa_pci_device_id[] = {
|
||
|
{PCI_VENDOR_ID_HP_3PAR, 0x0075, 0x1590, 0x007D},
|
||
|
{PCI_VENDOR_ID_HP_3PAR, 0x0075, 0x1590, 0x0088},
|
||
|
{PCI_VENDOR_ID_HP, 0x333f, 0x103c, 0x333f},
|
||
|
-#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},
|
||
|
-#endif
|
||
|
{0,}
|
||
|
};
|
||
|
|
||
|
--
|
||
|
2.27.0
|
||
|
|