From: Ken Cox <j...@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 <j...@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
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to