From 2fe8e79a78a01c93b2412ab02d3b993222df65e4 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 9 Mar 2010 22:54:08 -0500 Subject: [PATCH] compat-wireless: disable rt2800 if crc_ccitt is not available Signed-off-by: Pavel Roskin --- config.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.mk b/config.mk index 5565e12e3402..e5be3fd4d04d 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 -- 2.30.2