From patchwork Sat Jan 12 14:06:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Solomon Peachy X-Patchwork-Id: 1969201 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 169E43FC5A for ; Sat, 12 Jan 2013 14:07:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751735Ab3ALOHH (ORCPT ); Sat, 12 Jan 2013 09:07:07 -0500 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:53624 "EHLO cdptpa-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753743Ab3ALOHD (ORCPT ); Sat, 12 Jan 2013 09:07:03 -0500 X-Authority-Analysis: v=2.0 cv=XL2yuHdE c=1 sm=0 a=QKCpt3RAcCy1PgeoOVilzg==:17 a=2oGSFm5vdZwA:10 a=4zEPzq2-bB8A:10 a=649elMfuWG0A:10 a=svWV0_fRAAAA:8 a=lUqnPmCCq1QA:10 a=1JTSdTDffRPsXc31C1EA:9 a=OSKtzXyDyhAA:10 a=QKCpt3RAcCy1PgeoOVilzg==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 24.73.230.86 Received: from [24.73.230.86] ([24.73.230.86:58141] helo=stuffed.shaftnet.org) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id CB/58-25887-50E61F05; Sat, 12 Jan 2013 14:07:01 +0000 Received: from stuffed.shaftnet.org (localhost [127.0.0.1]) by stuffed.shaftnet.org (8.14.5/8.14.5) with ESMTP id r0CE6xZx013281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Jan 2013 09:06:59 -0500 Received: (from pizza@localhost) by stuffed.shaftnet.org (8.14.5/8.14.5/Submit) id r0CE6xSa013276; Sat, 12 Jan 2013 09:06:59 -0500 From: Solomon Peachy To: linux-wireless@vger.kernel.org Cc: Solomon Peachy Subject: [PATCH 14/15] cw1200: v3: Kbuild integration Date: Sat, 12 Jan 2013 09:06:14 -0500 Message-Id: <1357999575-12838-15-git-send-email-pizza@shaftnet.org> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1357999575-12838-1-git-send-email-pizza@shaftnet.org> References: <1357999575-12838-1-git-send-email-pizza@shaftnet.org> X-Virus-Scanned: clamav-milter 0.97.6 at stuffed.shaftnet.org X-Virus-Status: Clean X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on stuffed.shaftnet.org Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Solomon Peachy --- drivers/staging/cw1200/Kconfig | 78 +++++++++++++++++++++++++++++++++++++++++ drivers/staging/cw1200/Makefile | 23 ++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 drivers/staging/cw1200/Kconfig create mode 100644 drivers/staging/cw1200/Makefile diff --git a/drivers/staging/cw1200/Kconfig b/drivers/staging/cw1200/Kconfig new file mode 100644 index 0000000..6d59094 --- /dev/null +++ b/drivers/staging/cw1200/Kconfig @@ -0,0 +1,78 @@ +config CW1200 + tristate "CW1200 WLAN support" + depends on MAC80211 && CFG80211 + help + This is driver for the ST-E CW1100 & CW1200 WLAN chipsets. + This option just enables the driver core, see below for + specific bus support. + +if CW1200 + +config CW1200_WLAN_SDIO + tristate "Support SDIO platforms" + depends on CW1200 && MMC + help + This enables support for the CW1200 via an SDIO bus. + +config CW1200_WLAN_SPI + tristate "Support SPI platforms" + select CW1200_USE_GPIO_IRQ + depends on CW1200 && SPI + help + This enables support for the CW1200 via a SPI bus. + +config CW1200_NON_POWER_OF_TWO_BLOCKSIZES + bool "Platform supports non-power-of-two SDIO transfer" + depends on CW1200_SDIO + help + Say N here only if you are running the driver on a platform + which does not have support for non-power-of-two SDIO transfer. + If unsure, say Y. + +config CW1200_USE_GPIO_IRQ + bool "Use GPIO interrupt" + depends on CW1200_SDIO + help + Say Y here if you want to include GPIO IRQ support instead of + SDIO IRQ. Note that you will be limited to 1-bit SDIO operation. + If unsure, say N. + +config CW1200_POLL_IRQ + bool "Poll for data to work around irq delivery bugs" + help + You should say Y if your board has problems with IRQ delibery. + Otherwise say N. + +config CW1200_5GHZ_SUPPORT + bool "5GHz band support" + depends on CW1200 + help + Say Y if your device supports 5GHz band. Should be disabled for + CW1100 silicon. + If unsure, say N. + +config CW1200_PM + bool "Enable CW1200 advanced power management" + depends on CW1200 && PM + +menu "Driver debug features" + depends on CW1200 + +config CW1200_DEBUGFS + bool "Expose driver internals to DebugFS (DEVELOPMENT)" + +config CW1200_ETF + bool "Enable CW1200 Engineering Test Framework hooks" + depends on CW1200_DEBUGFS + help + If you don't know what this is, just say N. + +config CW1200_ITP + bool "Enable ITP access" + depends on CW1200_DEBUGFS + help + If you don't know what this is, just say N. + +endmenu + +endif diff --git a/drivers/staging/cw1200/Makefile b/drivers/staging/cw1200/Makefile new file mode 100644 index 0000000..2d5e8ad --- /dev/null +++ b/drivers/staging/cw1200/Makefile @@ -0,0 +1,23 @@ +cw1200_core-y := \ + fwio.o \ + txrx.o \ + main.o \ + queue.o \ + hwio.o \ + bh.o \ + wsm.o \ + sta.o \ + ap.o \ + scan.o +cw1200_core-$(CONFIG_CW1200_DEBUGFS) += debug.o +cw1200_core-$(CONFIG_CW1200_ITP) += itp.o +cw1200_core-$(CONFIG_CW1200_PM) += pm.o + +cw1200_wlan_sdio-y := cw1200_sdio.o +cw1200_wlan_spi-y := cw1200_spi.o + +obj-$(CONFIG_CW1200) += cw1200_core.o +obj-$(CONFIG_CW1200_WLAN_SDIO) += cw1200_wlan_sdio.o +obj-$(CONFIG_CW1200_WLAN_SPI) += cw1200_wlan_spi.o + +