From: Ken Cox <jkc(a)redhat.com>
Enable e1000 in rhel9 as unsupported
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2002344
Upstream Status: RHEL only
Enable e1000 but also add a taint to there is no mistake that
this is not supported.
Signed-off-by: Ken Cox <jkc(a)redhat.com>
diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c
b/drivers/net/ethernet/intel/e1000/e1000_main.c
index blahblah..blahblah 100644
--- a/drivers/net/ethernet/intel/e1000/e1000_main.c
+++ b/drivers/net/ethernet/intel/e1000/e1000_main.c
@@ -224,6 +224,9 @@ static int __init e1000_init_module(void)
pr_info("%s\n", e1000_copyright);
+ add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
+ pr_warn("E1000 MODULE IS NOT SUPPORTED\n");
+
ret = pci_register_driver(&e1000_driver);
if (copybreak != COPYBREAK_DEFAULT) {
if (copybreak == 0)
diff --git a/redhat/configs/ark/generic/CONFIG_E1000
b/redhat/configs/ark/generic/CONFIG_E1000
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/CONFIG_E1000
+++ b/redhat/configs/ark/generic/CONFIG_E1000
@@ -1 +1 @@
-# CONFIG_E1000 is not set
+CONFIG_E1000=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1382