forked from rpms/kernel
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From b4f063cda0c06e2287078e2ada97af3fa22cc0f7 Mon Sep 17 00:00:00 2001
|
|
From: Andrew Lukoshko <alukoshko@almalinux.org>
|
|
Date: Sun, 17 Mar 2024 08:11:19 +0000
|
|
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 5abecd08e..09eb5b697 100644
|
|
--- a/drivers/scsi/aacraid/linit.c
|
|
+++ b/drivers/scsi/aacraid/linit.c
|
|
@@ -71,7 +71,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 */
|
|
@@ -1669,7 +1669,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
|
|
|