linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] compat-wireless: disable rt2800 if crc_ccitt is not available
@ 2010-03-10  3:54 Pavel Roskin
  2010-03-10  3:54 ` [PATCH 2/2] compat-wireless: disable wl12xx if crc7 " Pavel Roskin
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Roskin @ 2010-03-10  3:54 UTC (permalink / raw)
  To: Luis R. Rodriguez, linux-wireless

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 5565e12..e5be3fd 100644
--- a/config.mk
+++ b/config.mk
@@ -281,8 +281,10 @@ CONFIG_ADM8211=m
 CONFIG_RT2X00_LIB_PCI=m
 CONFIG_RT2400PCI=m
 CONFIG_RT2500PCI=m
+ifneq ($(CONFIG_CRC_CCITT),)
 CONFIG_RT2800PCI=m
 CONFIG_RT2800PCI_PCI=y
+endif
 NEED_RT2X00=y
 
 # Two rt2x00 drivers require firmware: rt61pci and rt73usb. They depend on
@@ -358,7 +360,9 @@ endif
 
 # RT2500USB does not require firmware
 CONFIG_RT2500USB=m
+ifneq ($(CONFIG_CRC_CCITT),)
 CONFIG_RT2800USB=m
+endif
 CONFIG_RT2X00_LIB_USB=m
 NEED_RT2X00=y
 # RT73USB requires firmware

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] compat-wireless: disable wl12xx if crc7 is not available
  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 ` Pavel Roskin
  2010-03-10  4:34   ` Pavel Roskin
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Roskin @ 2010-03-10  3:54 UTC (permalink / raw)
  To: Luis R. Rodriguez, linux-wireless

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

diff --git a/config.mk b/config.mk
index e5be3fd..990eac6 100644
--- a/config.mk
+++ b/config.mk
@@ -447,9 +447,11 @@ CONFIG_P54_LEDS=y
 CONFIG_ATH_COMMON=m
 # CONFIG_ATH_DEBUG=y
 
+ifneq ($(CONFIG_CRC7),)
 CONFIG_WL12XX=y
 CONFIG_WL1251=m
 CONFIG_WL1271=m
+endif
 
 ifdef CONFIG_COMPAT_KERNEL_27
 CONFIG_LIBERTAS=n

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] compat-wireless: disable wl12xx if crc7 is not available
  2010-03-10  3:54 ` [PATCH 2/2] compat-wireless: disable wl12xx if crc7 " Pavel Roskin
@ 2010-03-10  4:34   ` Pavel Roskin
  2010-03-10 20:37     ` Luis R. Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Roskin @ 2010-03-10  4:34 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: linux-wireless

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] compat-wireless: disable wl12xx if crc7 is not available
  2010-03-10  4:34   ` Pavel Roskin
@ 2010-03-10 20:37     ` Luis R. Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Luis R. Rodriguez @ 2010-03-10 20:37 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: linux-wireless

On Tue, Mar 9, 2010 at 8:34 PM, Pavel Roskin <proski@gnu.org> wrote:
> 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>

Thanks! Applied your other one and this new iteration of this patch.

  Luis

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-10 20:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-03-10 20:37     ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).