35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From cc44846ebd353aa4a95aaf014234dd00bdda3f93 Mon Sep 17 00:00:00 2001
|
|
From: Andrew Lukoshko <alukoshko@almalinux.org>
|
|
Date: Sat, 16 Mar 2024 13:54:04 -0400
|
|
Subject: [PATCH 4/6] Bring back deprecated pci ids to aacraid driver
|
|
|
|
---
|
|
drivers/scsi/aacraid/linit.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
|
|
index dffed227f..49f9d081c 100644
|
|
--- a/drivers/scsi/aacraid/linit.c
|
|
+++ b/drivers/scsi/aacraid/linit.c
|
|
@@ -85,7 +85,7 @@ static LIST_HEAD(aac_devices);
|
|
static int aac_cfg_major = AAC_CHARDEV_UNREGISTERED;
|
|
char aac_driver_version[] = AAC_DRIVER_FULL_VERSION;
|
|
|
|
-#ifdef CONFIG_RHEL_DIFFERENCES
|
|
+#ifdef CONFIG_ALMALINUX_DIFFERENCES
|
|
static const struct pci_device_id rh_deprecated_pci_table[] = {
|
|
|
|
{0} /* Terminating entry */
|
|
@@ -1778,7 +1778,7 @@ static int aac_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
int mask_bits = 0;
|
|
extern int aac_sync_mode;
|
|
|
|
-#ifdef CONFIG_RHEL_DIFFERENCES
|
|
+#ifdef CONFIG_ALMALINUX_DIFFERENCES
|
|
if (pci_hw_disabled(rh_disabled_pci_table, pdev))
|
|
return -ENODEV;
|
|
|
|
--
|
|
2.39.3
|
|
|