All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/2] compat-wireless: disable wl12xx if crc7 is not available
Date: Tue, 09 Mar 2010 23:34:16 -0500	[thread overview]
Message-ID: <1268195656.10669.37.camel@mj> (raw)
In-Reply-To: <20100310035414.28564.10870.stgit@mj.roinet.com>

On Tue, 2010-03-09 at 22:54 -0500, Pavel Roskin wrote:
> Signed-off-by: Pavel Roskin <proski@gnu.org>
> ---
>  config.mk |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Please disregards this patch, it goes too far.  wl1251_sdio still can be
compiled without crc7().

That's the second version (RFC):


compat-wireless: disable wl1251 SPI and wl1271 if crc7 is not available

Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 config.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/config.mk b/config.mk
index e5be3fd..f4f019f 100644
--- a/config.mk
+++ b/config.mk
@@ -386,7 +386,9 @@ endif # end of USB driver list
 ifneq ($(CONFIG_SPI_MASTER),)
 
 CONFIG_WL1251=m
+ifneq ($(CONFIG_CRC7),)
 CONFIG_WL1251_SPI=m
+endif
 CONFIG_P54_SPI=m
 
 ifdef CONFIG_COMPAT_KERNEL_27
@@ -449,7 +451,9 @@ CONFIG_ATH_COMMON=m
 
 CONFIG_WL12XX=y
 CONFIG_WL1251=m
+ifneq ($(CONFIG_CRC7),)
 CONFIG_WL1271=m
+endif
 
 ifdef CONFIG_COMPAT_KERNEL_27
 CONFIG_LIBERTAS=n

-- 
Regards,
Pavel Roskin

  reply	other threads:[~2010-03-10  4:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-10  3:54 [PATCH 1/2] compat-wireless: disable rt2800 if crc_ccitt is not available Pavel Roskin
2010-03-10  3:54 ` [PATCH 2/2] compat-wireless: disable wl12xx if crc7 " Pavel Roskin
2010-03-10  4:34   ` Pavel Roskin [this message]
2010-03-10 20:37     ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1268195656.10669.37.camel@mj \
    --to=proski@gnu.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.