Skip to contentSkip to conversation

staging: gdm72xx: Add GCT GDM72xx WiMAX driver.

PATCH In review Sage Ahn 2 participants 2 messages May 15, 2012 Staging

lore
Share & tools
lore

Sage Ahn

author
#0 lore raw

PATCH v2 1/1 staging: gdm72xx: Add GCT GDM72xx WiMAX driver.

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.

---
Fix license headers.

 drivers/staging/Kconfig             |    2 +
 drivers/staging/Makefile            |    1 +
 drivers/staging/gdm72xx/Kconfig     |   45 ++
 drivers/staging/gdm72xx/Makefile    |    6 +
 drivers/staging/gdm72xx/TODO        |    5 +
 drivers/staging/gdm72xx/gdm_qos.c   |  460 ++++++++++++++++
 drivers/staging/gdm72xx/gdm_qos.h   |   93 ++++
 drivers/staging/gdm72xx/gdm_sdio.c  |  754 ++++++++++++++++++++++++++
 drivers/staging/gdm72xx/gdm_sdio.h  |   72 +++
 drivers/staging/gdm72xx/gdm_usb.c   |  804 +++++++++++++++++++++++++++
 drivers/staging/gdm72xx/gdm_usb.h   |   85 +++
 drivers/staging/gdm72xx/gdm_wimax.c | 1025 +++++++++++++++++++++++++++++++++++
 drivers/staging/gdm72xx/gdm_wimax.h |   92 ++++
 drivers/staging/gdm72xx/hci.h       |  218 ++++++++
 drivers/staging/gdm72xx/netlink_k.c |  150 +++++
 drivers/staging/gdm72xx/netlink_k.h |   24 +
 drivers/staging/gdm72xx/sdio_boot.c |  159 ++++++
 drivers/staging/gdm72xx/sdio_boot.h |   21 +
 drivers/staging/gdm72xx/usb_boot.c  |  404 ++++++++++++++
 drivers/staging/gdm72xx/usb_boot.h  |   22 +
 drivers/staging/gdm72xx/usb_ids.h   |   82 +++
 drivers/staging/gdm72xx/wm_ioctl.h  |   97 ++++
 22 files changed, 4621 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/gdm72xx/Kconfig
 create mode 100644 drivers/staging/gdm72xx/Makefile
 create mode 100644 drivers/staging/gdm72xx/TODO
 create mode 100644 drivers/staging/gdm72xx/gdm_qos.c
 create mode 100644 drivers/staging/gdm72xx/gdm_qos.h
 create mode 100644 drivers/staging/gdm72xx/gdm_sdio.c
 create mode 100644 drivers/staging/gdm72xx/gdm_sdio.h
 create mode 100644 drivers/staging/gdm72xx/gdm_usb.c
 create mode 100644 drivers/staging/gdm72xx/gdm_usb.h
 create mode 100644 drivers/staging/gdm72xx/gdm_wimax.c
 create mode 100644 drivers/staging/gdm72xx/gdm_wimax.h
 create mode 100644 drivers/staging/gdm72xx/hci.h
 create mode 100644 drivers/staging/gdm72xx/netlink_k.c
 create mode 100644 drivers/staging/gdm72xx/netlink_k.h
 create mode 100644 drivers/staging/gdm72xx/sdio_boot.c
 create mode 100644 drivers/staging/gdm72xx/sdio_boot.h
 create mode 100644 drivers/staging/gdm72xx/usb_boot.c
 create mode 100644 drivers/staging/gdm72xx/usb_boot.h
 create mode 100644 drivers/staging/gdm72xx/usb_ids.h
 create mode 100644 drivers/staging/gdm72xx/wm_ioctl.h
drivers/staging/Kconfig +2 -0
index d6417d11..7e0e5e4 100644
@@ -130,4 +130,6 @@ source "drivers/staging/ozwpan/Kconfig"
 
 source "drivers/staging/ipack/Kconfig"
 
+source "drivers/staging/gdm72xx/Kconfig"
+
 endif # STAGING
drivers/staging/Makefile +1 -0
index fd8b7ce..3090105 100644
@@ -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/
drivers/staging/gdm72xx/Kconfig new file +45 -0

45 lines not on this page · raw message

drivers/staging/gdm72xx/Makefile new file +6 -0
new file mode 100644
index 0000000..35da7b9
@@ -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
drivers/staging/gdm72xx/TODO new file +5 -0
new file mode 100644
index 0000000..30ac01a
@@ -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.
drivers/staging/gdm72xx/gdm_qos.c new file +460 -0

460 lines not on this page · raw message

drivers/staging/gdm72xx/gdm_qos.h new file +93 -0

93 lines not on this page · raw message

drivers/staging/gdm72xx/gdm_sdio.c new file +754 -0

754 lines not on this page · raw message

drivers/staging/gdm72xx/gdm_sdio.h new file +72 -0

72 lines not on this page · raw message

drivers/staging/gdm72xx/gdm_usb.c new file +804 -0

804 lines not on this page · raw message

drivers/staging/gdm72xx/gdm_usb.h new file +85 -0

85 lines not on this page · raw message

drivers/staging/gdm72xx/gdm_wimax.c new file +1025 -0

666 lines not on this page · raw message

drivers/staging/gdm72xx/gdm_wimax.h new file +92 -0

92 lines not on this page · raw message

drivers/staging/gdm72xx/hci.h new file +218 -0

218 lines not on this page · raw message

drivers/staging/gdm72xx/netlink_k.c new file +150 -0

150 lines not on this page · raw message

drivers/staging/gdm72xx/netlink_k.h new file +24 -0
new file mode 100644
index 0000000..1dffaa6

Lines of this file are not shown. View the raw message.

drivers/staging/gdm72xx/sdio_boot.c new file +159 -0

159 lines not on this page · raw message

drivers/staging/gdm72xx/sdio_boot.h new file +21 -0
new file mode 100644
index 0000000..373ac28

Lines of this file are not shown. View the raw message.

drivers/staging/gdm72xx/usb_boot.c new file +404 -0

404 lines not on this page · raw message

drivers/staging/gdm72xx/usb_boot.h new file +22 -0
new file mode 100644
index 0000000..c715cd3

Lines of this file are not shown. View the raw message.

drivers/staging/gdm72xx/usb_ids.h new file +82 -0

82 lines not on this page · raw message

drivers/staging/gdm72xx/wm_ioctl.h new file +97 -0

97 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.7.3

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 8 lines · Sage Ahn

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.

---
Fix license headers.

Much nicer, thanks for the quick turn-around, now applied.

greg k-h