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>
This commit is contained in:
parent
2aab4e8edf
commit
0d8a07af44
2
Kconfig
2
Kconfig
|
@ -30,3 +30,5 @@ source "lib/Kconfig"
|
|||
source "lib/Kconfig.debug"
|
||||
|
||||
source "Documentation/Kconfig"
|
||||
|
||||
source "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
|
Loading…
Reference in New Issue