Skip to content

Commit

Permalink
staging: gdm72xx: Add GCT GDM72xx WiMAX driver.
Browse files Browse the repository at this point in the history
This patch provides the kernel driver for the GDM72xx WiMAX chips
developed by GCT Semiconductor, Inc., which enables mobile WiMAX
connection on the Linux host.

Signed-off-by: Sage Ahn <syahn@gctsemi.com>
Cc: Ben Chan <benchan@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sage Ahn authored and Greg Kroah-Hartman committed May 15, 2012
1 parent 93c66ee commit 247e9cf
Show file tree
Hide file tree
Showing 22 changed files with 4,621 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,6 @@ source "drivers/staging/ozwpan/Kconfig"

source "drivers/staging/ipack/Kconfig"

source "drivers/staging/gdm72xx/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ obj-$(CONFIG_ANDROID) += android/
obj-$(CONFIG_PHONE) += telephony/
obj-$(CONFIG_RAMSTER) += ramster/
obj-$(CONFIG_USB_WPAN_HCD) += ozwpan/
obj-$(CONFIG_WIMAX_GDM72XX) += gdm72xx/
45 changes: 45 additions & 0 deletions drivers/staging/gdm72xx/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# GCT GDM72xx WiMAX driver configuration
#

menuconfig WIMAX_GDM72XX
tristate "GCT GDM72xx WiMAX support"
help
Support for the GCT GDM72xx WiMAX chip

if WIMAX_GDM72XX

config WIMAX_GDM72XX_QOS
bool "Enable QoS support"
default n

config WIMAX_GDM72XX_K_MODE
bool "Enable K mode"
default n

config WIMAX_GDM72XX_WIMAX2
bool "Enable WIMAX2 support"
default n

choice
prompt "Select interface"

config WIMAX_GDM72XX_USB
bool "USB interface"
depends on USB

config WIMAX_GDM72XX_SDIO
bool "SDIO interface"
depends on MMC

endchoice

if WIMAX_GDM72XX_USB

config WIMAX_GDM72XX_USB_PM
bool "Enable power managerment support"
default n

endif # WIMAX_GDM72XX_USB

endif # WIMAX_GDM72XX
6 changes: 6 additions & 0 deletions drivers/staging/gdm72xx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
obj-$(CONFIG_WIMAX_GDM72XX) := gdmwm.o

gdmwm-y += gdm_wimax.o netlink_k.o
gdmwm-$(CONFIG_WIMAX_GDM72XX_QOS) += gdm_qos.o
gdmwm-$(CONFIG_WIMAX_GDM72XX_SDIO) += gdm_sdio.o sdio_boot.o
gdmwm-$(CONFIG_WIMAX_GDM72XX_USB) += gdm_usb.o usb_boot.o
5 changes: 5 additions & 0 deletions drivers/staging/gdm72xx/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TODO:
- Replace kernel_thread with kthread in gdm_usb.c
- Replace hard-coded firmware paths with request_firmware in
sdio_boot.c and usb_boot.c
- Clean up coding style to meet kernel standard.
Loading

0 comments on commit 247e9cf

Please sign in to comment.