Skip to contentSkip to conversation

compat-wireless: disable rt2800 if crc_ccitt is not available

PATCH Applied Pavel Roskin 2 participants 4 messages Mar 10, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 compat-wireless: disable rt2800 if crc_ccitt is not available

---
 config.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
config.mk +4 -0
index 5565e12..e5be3fd 100644
@@ -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
#1 lore raw

PATCH 2/2 compat-wireless: disable wl12xx if crc7 is not available

---
 config.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
config.mk +2 -0
index e5be3fd..990eac6 100644
@@ -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
#2 lore raw

Re: [PATCH 2/2] compat-wireless: disable wl12xx if crc7 is not available

Quoted 4 lines · Pavel Roskin
---
 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

---
 config.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
config.mk +4 -0
index e5be3fd..f4f019f 100644
@@ -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
Signature · 2 lines
Regards,
Pavel Roskin
#3 lore raw

Re: [PATCH 2/2] compat-wireless: disable wl12xx if crc7 is not available

Quoted 9 lines · Pavel Roskin
Quoted 4 lines · Pavel Roskin

---
 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().

Quoted 6 lines

That's the second version (RFC):

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

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

Luis