iwmc3200top: Add Intel Wireless MultiCom 3200 top driver.
Subsystems (5)
PATCH v2 1/3 iwmc3200top: Add Intel Wireless MultiCom 3200 top driver.
This patch adds Intel Wireless MultiCom 3200 top driver.
IWMC3200 is 4Wireless Com CHIP (GPS/BT/WiFi/WiMAX).
Top driver is responsible for device initialization and firmware download. Firmware handled by top is responsible for top itself and
as well as bluetooth and GPS coms. (Wifi and WiMax provide their own firmware) In addition top driver is used to retrieve firmware logs
and supports other debugging features
---
V2:
1. fixing barker management
2. use dev_get_drvdata instead of d->driver_data
3. cleanup debugfs
drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/iwmc3200top/Kconfig | 20 + drivers/misc/iwmc3200top/Makefile | 29 ++ drivers/misc/iwmc3200top/debugfs.c | 133 ++++++ drivers/misc/iwmc3200top/debugfs.h | 58 +++ drivers/misc/iwmc3200top/fw-download.c | 359 ++++++++++++++++ drivers/misc/iwmc3200top/fw-msg.h | 113 +++++ drivers/misc/iwmc3200top/iwmc3200top.h | 206 ++++++++++ drivers/misc/iwmc3200top/log.c | 347 ++++++++++++++++ drivers/misc/iwmc3200top/log.h | 158 +++++++ drivers/misc/iwmc3200top/main.c | 699 ++++++++++++++++++++++++++++++++ 12 files changed, 2124 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/iwmc3200top/Kconfig create mode 100644 drivers/misc/iwmc3200top/Makefile create mode 100644 drivers/misc/iwmc3200top/debugfs.c create mode 100644 drivers/misc/iwmc3200top/debugfs.h create mode 100644 drivers/misc/iwmc3200top/fw-download.c create mode 100644 drivers/misc/iwmc3200top/fw-msg.h create mode 100644 drivers/misc/iwmc3200top/iwmc3200top.h create mode 100644 drivers/misc/iwmc3200top/log.c create mode 100644 drivers/misc/iwmc3200top/log.h create mode 100644 drivers/misc/iwmc3200top/main.c
drivers/misc/Kconfig +1 -0
@@ -249,5 +249,6 @@ config EP93XX_PWM source "drivers/misc/c2port/Kconfig" source "drivers/misc/eeprom/Kconfig" source "drivers/misc/cb710/Kconfig" +source "drivers/misc/iwmc3200top/Kconfig" endif # MISC_DEVICES
drivers/misc/Makefile +1 -0
@@ -21,5 +21,6 @@ obj-$(CONFIG_HP_ILO) += hpilo.o obj-$(CONFIG_ISL29003) += isl29003.o obj-$(CONFIG_EP93XX_PWM) += ep93xx_pwm.o obj-$(CONFIG_C2PORT) += c2port/ +obj-$(CONFIG_IWMC3200TOP) += iwmc3200top/ obj-y += eeprom/ obj-y += cb710/
drivers/misc/iwmc3200top/Kconfig new file +20 -0
@@ -0,0 +1,20 @@ +config IWMC3200TOP + tristate "Intel Wireless MultiCom Top Driver" + depends on MMC && EXPERIMENTAL + select FW_LOADER + ---help--- + Intel Wireless MultiCom 3200 Top driver is responsible for + for firmware load and enabled coms enumeration + +config IWMC3200TOP_DEBUG + bool "Enable full debug output of iwmc3200top Driver" + depends on IWMC3200TOP + ---help--- + Enable full debug output of iwmc3200top Driver + +config IWMC3200TOP_DEBUGFS + bool "Enable Debugfs debugging interface for iwmc3200top" + depends on IWMC3200TOP + ---help--- + Enable creation of debugfs files for iwmc3200top +
drivers/misc/iwmc3200top/Makefile new file +29 -0
@@ -0,0 +1,29 @@ +# iwmc3200top - Intel Wireless MultiCom 3200 Top Driver +# drivers/misc/iwmc3200top/Makefile +# +# Copyright (C) 2009 Intel Corporation. All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License version +# 2 as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# +# Author Name: Maxim Grabarnik <[email protected]> +# - +# +# + +obj-$(CONFIG_IWMC3200TOP) += iwmc3200top.o +iwmc3200top-objs := main.o fw-download.o +iwmc3200top-$(CONFIG_IWMC3200TOP_DEBUG) += log.o +iwmc3200top-$(CONFIG_IWMC3200TOP_DEBUGFS) += debugfs.o
drivers/misc/iwmc3200top/debugfs.c new file +133 -0
133 lines not on this page · raw message
drivers/misc/iwmc3200top/debugfs.h new file +58 -0
58 lines not on this page · raw message
drivers/misc/iwmc3200top/fw-download.c new file +359 -0
359 lines not on this page · raw message
drivers/misc/iwmc3200top/fw-msg.h new file +113 -0
113 lines not on this page · raw message
drivers/misc/iwmc3200top/iwmc3200top.h new file +206 -0
206 lines not on this page · raw message
drivers/misc/iwmc3200top/log.c new file +347 -0
347 lines not on this page · raw message
drivers/misc/iwmc3200top/log.h new file +158 -0
158 lines not on this page · raw message
drivers/misc/iwmc3200top/main.c new file +699 -0
699 lines not on this page · raw message
Signature · 14 lines
1.6.0.6 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v2 2/3 iwmc3200wifi: select IWMC3200TOP in Kconfig
iwmc3200wifi requires iwmc3200top for its operation
--- drivers/net/wireless/iwmc3200wifi/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/iwmc3200wifi/Kconfig +1 -0
@@ -3,6 +3,7 @@ config IWM depends on MMC && WLAN_80211 && EXPERIMENTAL depends on CFG80211 select FW_LOADER + select IWMC3200TOP help The Intel Wireless Multicomm 3200 hardware is a combo card with GPS, Bluetooth, WiMax and 802.11 radios. It
Signature · 9 lines
1.6.0.6 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
A message that is not in the archive (sent off-list or not yet received): 1255806576-26869-2-git-send-email-tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
PATCH v2 3/3 i2400m-sdio: select IWMC3200TOP in Kconfig
i2400m-sdio requires iwmc3200top for its operation
--- drivers/net/wimax/i2400m/Kconfig | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/net/wimax/i2400m/Kconfig +8 -0
@@ -31,6 +31,14 @@ config WIMAX_I2400M_SDIO If unsure, it is safe to select M (module). +config WIMAX_IWMC3200_SDIO + bool "Intel Wireless Multicom WiMAX Connection 3200 over SDIO" + depends on WIMAX_I2400M_SDIO + select IWMC3200TOP + help + Select if you have a device based on the Intel Multicom WiMAX + Connection 3200 over SDIO. + config WIMAX_I2400M_DEBUG_LEVEL int "WiMAX i2400m debug level" depends on WIMAX_I2400M
Signature · 14 lines
1.6.0.6 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH net-next V2 3/3] i2400m-sdio: select IWMC3200TOP in Kconfig
From: Tomas Winkler <[email protected]>
Date: Sat, 17 Oct 2009 21:09:36 +0200
Quoted 4 lines
i2400m-sdio requires iwmc3200top for its operation
Signed-off-by Tomas Winkler <[email protected]>
Applied to net-next-2.6, thanks!
Re: [PATCH net-next V2 2/3] iwmc3200wifi: select IWMC3200TOP in Kconfig
In reply to Tomas WinklerFrom: Tomas Winkler <[email protected]>
Date: Sat, 17 Oct 2009 21:09:35 +0200
Quoted 4 lines
iwmc3200wifi requires iwmc3200top for its operation
Signed-off-by Tomas Winkler <[email protected]>Acked-by Zhu Yi <[email protected]>
Applied to net-next-2.6
From: Tomas Winkler <[email protected]>
Date: Sat, 17 Oct 2009 21:09:34 +0200
Quoted 9 lines
This patch adds Intel Wireless MultiCom 3200 top driver.
IWMC3200 is 4Wireless Com CHIP (GPS/BT/WiFi/WiMAX).
Top driver is responsible for device initialization and firmware download. Firmware handled by top is responsible for top itself and
as well as bluetooth and GPS coms. (Wifi and WiMax provide their own firmware) In addition top driver is used to retrieve firmware logs
and supports other debugging featuresSigned-off-by Tomas Winkler <[email protected]>
Applied to net-next-2.6
Quoted 11 lines · David Miller
From: Tomas Winkler <[email protected]>
Date: Sat, 17 Oct 2009 21:09:34 +0200Quoted 8 lines
This patch adds Intel Wireless MultiCom 3200 top driver.
IWMC3200 is 4Wireless Com CHIP (GPS/BT/WiFi/WiMAX).
Top driver is responsible for device initialization and firmware download. Firmware handled by top is responsible for top itself and
as well as bluetooth and GPS coms. (Wifi and WiMax provide their own firmware) In addition top driver is used to retrieve firmware logs
and supports other debugging features
Quoted 3 lines
Quoted 1 line
Signed-off-by Tomas Winkler <[email protected]>Applied to net-next-2.6
Thanks Dave
Marcel
I want to send out now the BT driver, would like the patch against bluetooth-next-2.6.git, then I wait till you sync or can you also pick it from net-next if Dave is OK with that?
Thanks
Tomas
Hi Tomas,
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
This patch adds Intel Wireless MultiCom 3200 top driver.
IWMC3200 is 4Wireless Com CHIP (GPS/BT/WiFi/WiMAX).
Top driver is responsible for device initialization and firmware download. Firmware handled by top is responsible for top itself and
as well as bluetooth and GPS coms. (Wifi and WiMax provide their own firmware) In addition top driver is used to retrieve firmware logs
and supports other debugging featuresSigned-off-by Tomas Winkler <[email protected]>
Quoted 8 lines
Quoted 1 line
Applied to net-next-2.6
Thanks Dave
Marcel
I want to send out now the BT driver, would like the patch against bluetooth-next-2.6.git, then I wait till you sync or can you also pick it from net-next if Dave is OK with that?
send it against net-next since you are working in drivers/bluetooth/, we will have not conflicts.
Regards
Marcel