From patchwork Wed Dec 10 23:12:51 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inaky Perez-Gonzalez X-Patchwork-Id: 13363 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 8D13CDDFD2 for ; Thu, 11 Dec 2008 10:15:55 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755634AbYLJXOw (ORCPT ); Wed, 10 Dec 2008 18:14:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755604AbYLJXOu (ORCPT ); Wed, 10 Dec 2008 18:14:50 -0500 Received: from mga09.intel.com ([134.134.136.24]:24875 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753993AbYLJXNR (ORCPT ); Wed, 10 Dec 2008 18:13:17 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 10 Dec 2008 15:06:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.33,749,1220252400"; d="scan'208";a="369806549" Received: from gocho.jf.intel.com (HELO localhost.localdomain) ([134.134.19.94]) by orsmga002.jf.intel.com with ESMTP; 10 Dec 2008 15:11:59 -0800 From: Inaky Perez-Gonzalez To: netdev@vger.kernel.org Cc: wimax@linuxwimax.org, greg@kroah.com Subject: [PATCH 10/29] wimax: Makefile, Kconfig and docbook linkage for the stack Date: Wed, 10 Dec 2008 15:12:51 -0800 Message-Id: <164c6b9882c4424ea93e40c9ec333a15fb671294.1228948072.git.inaky@linux.intel.com> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: References: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch provides Makefile and KConfig for the WiMAX stack, integrating them into the networking stack's Makefile, Kconfig and doc-book templates. Signed-off-by: Inaky Perez-Gonzalez --- Documentation/DocBook/networking.tmpl | 8 +++++++ net/Kconfig | 2 + net/Makefile | 1 + net/wimax/Kconfig | 36 +++++++++++++++++++++++++++++++++ net/wimax/Makefile | 13 +++++++++++ 5 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 net/wimax/Kconfig create mode 100644 net/wimax/Makefile diff --git a/Documentation/DocBook/networking.tmpl b/Documentation/DocBook/networking.tmpl index f24f9e8..7053c1c 100644 --- a/Documentation/DocBook/networking.tmpl +++ b/Documentation/DocBook/networking.tmpl @@ -101,6 +101,14 @@ X!Enet/core/wireless.c Synchronous PPP !Edrivers/net/wan/syncppp.c + WiMAX +!Enet/wimax/op-msg.c +!Enet/wimax/op-reset.c +!Enet/wimax/op-rfkill.c +!Enet/wimax/stack.c +!Iinclude/net/wimax.h +!Iinclude/linux/wimax.h + diff --git a/net/Kconfig b/net/Kconfig index d789d79..3bff221 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -251,6 +251,8 @@ source "net/ieee80211/Kconfig" endif # WIRELESS +source "net/wimax/Kconfig" + source "net/rfkill/Kconfig" source "net/9p/Kconfig" diff --git a/net/Makefile b/net/Makefile index 27d1f10..620a505 100644 --- a/net/Makefile +++ b/net/Makefile @@ -61,3 +61,4 @@ obj-$(CONFIG_NET_9P) += 9p/ ifeq ($(CONFIG_NET),y) obj-$(CONFIG_SYSCTL) += sysctl_net.o endif +obj-$(CONFIG_WIMAX) += wimax/ diff --git a/net/wimax/Kconfig b/net/wimax/Kconfig new file mode 100644 index 0000000..67d5f4d --- /dev/null +++ b/net/wimax/Kconfig @@ -0,0 +1,36 @@ +# +# WiMAX LAN device configuration +# + +menuconfig WIMAX + tristate "WiMAX Wireless Broadband support" + help + + Select to configure support for devices that provide wireless + broadband connectivity using the WiMAX protocol (IEEE 802.16). + + Please note that most of these devices require signing up for + a service plan with a provider. + + The different WiMAX drivers can be enabled in the menu entry + + Device Drivers > Network device support > WiMAX Wireless Broadband devices + + If unsure, it is safe to select M (module). + +config WIMAX_DEBUG_LEVEL + int "WiMAX debug level" + depends on WIMAX + default 8 + help + + Select the maximum debug verbosity level to be compiled into + the WiMAX stack code. + + By default, debug messages are disabled at runtime and can be + selectively enabled for different parts of the code using the + sysfs debug-levels file. + + If set at zero, this will compile out all the debug code. + + It is recommended that it is left at 8. diff --git a/net/wimax/Makefile b/net/wimax/Makefile new file mode 100644 index 0000000..d548446 --- /dev/null +++ b/net/wimax/Makefile @@ -0,0 +1,13 @@ + +obj-$(CONFIG_WIMAX) += wimax.o + +wimax-objs := \ + id-table.o \ + op-msg.o \ + op-reset.o \ + op-rfkill.o \ + stack.o + +wimax-$(CONFIG_DEBUG_FS) += debugfs.o + +