net-wireless/broadcom-sta: Warn the user about CONFIG_X86_INTEL_LPSS
authorNick Sarnie <commendsarnex@gmail.com>
Tue, 13 Mar 2018 19:38:15 +0000 (15:38 -0400)
committerGilles Dartiguelongue <eva@gentoo.org>
Sun, 25 Mar 2018 22:07:43 +0000 (00:07 +0200)
Bug: https://bugs.gentoo.org/551834
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild

index b5e03a3184f108e4b6f568227cf45291de032204..95eeba5c4831de65401553000ab7ccaf2ab542ed 100644 (file)
@@ -43,7 +43,7 @@ pkg_setup() {
        # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled
        # make checks non-fatal. The correct fix is blackisting ssb and, perhaps
        # b43 via udev rules. Moreover, previous fix broke binpkgs support.
-       CONFIG_CHECK="~!B43 ~!BCMA ~!SSB"
+       CONFIG_CHECK="~!B43 ~!BCMA ~!SSB ~!X86_INTEL_LPSS"
        CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP"
        ERROR_B43="B43: If you insist on building this, you must blacklist it!"
        ERROR_BCMA="BCMA: If you insist on building this, you must blacklist it!"
@@ -52,6 +52,7 @@ pkg_setup() {
        ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!"
        ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose something else."
        ERROR_LIB80211_CRYPT_TKIP="LIB80211_CRYPT_TKIP: You will need this for WPA."
+       ERROR_X86_INTEL_LPSS="X86_INTEL_LPSS: Please disable it. The module does not work with it enabled."
        if kernel_is ge 3 8 8; then
                CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT"
        elif kernel_is ge 2 6 32; then