From patchwork Wed Mar 10 03:54:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Roskin X-Patchwork-Id: 84452 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2A3sC41027907 for ; Wed, 10 Mar 2010 03:54:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756202Ab0CJDyL (ORCPT ); Tue, 9 Mar 2010 22:54:11 -0500 Received: from c60.cesmail.net ([216.154.195.49]:20336 "EHLO c60.cesmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756151Ab0CJDyJ (ORCPT ); Tue, 9 Mar 2010 22:54:09 -0500 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 09 Mar 2010 22:54:09 -0500 Received: from mj.roinet.com (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id F005034C6A; Tue, 9 Mar 2010 22:54:29 -0500 (EST) Subject: [PATCH 1/2] compat-wireless: disable rt2800 if crc_ccitt is not available To: "Luis R. Rodriguez" , linux-wireless@vger.kernel.org From: Pavel Roskin Date: Tue, 09 Mar 2010 22:54:08 -0500 Message-ID: <20100310035408.28564.65912.stgit@mj.roinet.com> User-Agent: StGit/0.15-54-g6e68 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 10 Mar 2010 03:54:13 +0000 (UTC) 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