[OS-BUILD PATCHv2] Enable e1000 in rhel9 as unsupported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ken Cox <jkc@xxxxxxxxxx>

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@xxxxxxxxxx>

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,11 @@ static int __init e1000_init_module(void)
 
 	pr_info("%s\n", e1000_copyright);
 
+#ifdef CONFIG_RHEL_DIFFERENCES
+	add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
+	mark_driver_unsupported(e1000_driver_name);
+#endif
+
 	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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux