commit:     5aea9546fc3c8b521cb272e0c8b996c7388b0b17
Author:     Nick Sarnie <commendsarnex <AT> gmail <DOT> com>
AuthorDate: Tue Mar 13 19:38:15 2018 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Mar 25 22:07:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aea9546

net-wireless/broadcom-sta: Warn the user about CONFIG_X86_INTEL_LPSS

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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild 
b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
index b5e03a3184f..95eeba5c483 100644
--- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
+++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
@@ -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

Reply via email to