diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-04-24 05:31:22 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-04-24 05:56:43 +0200 |
commit | 837cd03f031f1daaa2dda23d584cda25b0dfd51e (patch) | |
tree | 5a62f9127c7daa3d8f96e1394ef74421a7fb53e7 /0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch | |
parent | 536dec0b3393550051e61fc345aede447477bf94 (diff) | |
parent | d1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236 (diff) | |
download | kernel-5.7.0-0.rc2.20200423git7adc4b399952.1.vanilla.1.fc31.tar.gz kernel-5.7.0-0.rc2.20200423git7adc4b399952.1.vanilla.1.fc31.tar.xz kernel-5.7.0-0.rc2.20200423git7adc4b399952.1.vanilla.1.fc31.zip |
merge masterkernel-5.7.0-0.rc2.20200423git7adc4b399952.1.vanilla.1.fc33kernel-5.7.0-0.rc2.20200423git7adc4b399952.1.vanilla.1.fc32kernel-5.7.0-0.rc2.20200423git7adc4b399952.1.vanilla.1.fc31kernel-5.7.0-0.rc2.20200423git7adc4b399952.1.vanilla.1.fc30
Diffstat (limited to '0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch')
-rw-r--r-- | 0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch b/0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch new file mode 100644 index 000000000..3ba0a5d0f --- /dev/null +++ b/0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch @@ -0,0 +1,64 @@ +From 7f1dcaa76502498b932c61acf0d3388ae9ee911b Mon Sep 17 00:00:00 2001 +From: Laura Abbott <labbott@redhat.com> +Date: Wed, 13 Nov 2019 14:44:28 -0500 +Subject: [PATCH] Introduce CONFIG_RH_DISABLE_DEPRECATED + +Message-id: <20191113144431.9403-2-labbott@redhat.com> +Patchwork-id: 286080 +O-Subject: [ARK INTERNAL PATCHv2 1/4] [redhat] Introduce CONFIG_RH_DISABLE_DEPRECATED +Bugzilla: +RH-Acked-by: Don Zickus <dzickus@redhat.com> +RH-Acked-by: Prarit Bhargava <prarit@redhat.com> +RH-Acked-by: Jiri Benc <jbenc@redhat.com> + +For many drivers that RHEL doesn't want to support, we've typically deleted +PCI ids from the tree. This precludes those drivers from being used at all +which is fine for RHEL but a problem if we want to use a similar source base +for Fedora. Instead of just deleting IDs, introduce a config +CONFIG_RH_DISABLE_DEPRECATED. This way RHEL can remove IDs while still allowing +kernels to be built with the option off from the same source. + +Upstream Status: RHEL only +Signed-off-by: Laura Abbott <labbott@redhat.com> +--- + Kconfig | 2 ++ + Kconfig.redhat | 17 +++++++++++++++++ + 2 files changed, 19 insertions(+) + create mode 100644 Kconfig.redhat + +diff --git a/Kconfig b/Kconfig +index e10b3ee084d4..01c0df787518 100644 +--- a/Kconfig ++++ b/Kconfig +@@ -32,3 +32,5 @@ source "lib/Kconfig" + source "lib/Kconfig.debug" + + source "Documentation/Kconfig" ++ ++source "Kconfig.redhat" +diff --git a/Kconfig.redhat b/Kconfig.redhat +new file mode 100644 +index 000000000000..733a26bd887a +--- /dev/null ++++ b/Kconfig.redhat +@@ -0,0 +1,17 @@ ++# SPDX-License-Identifier: GPL-2.0-only ++# ++# Red Hat specific options ++# ++ ++menu "Red Hat options" ++ ++config RH_DISABLE_DEPRECATED ++ bool "Remove support for deprecated features" ++ help ++ Red Hat may choose to deprecate certain features in its kernels. ++ Enable this option to remove support for hardware that is no ++ longer supported. ++ ++ Unless you want a restricted kernel, say N here. ++ ++endmenu +-- +2.26.0 + |