[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1330528507-16551-1-git-send-email-bjorn@mork.no>
Date: Wed, 29 Feb 2012 16:15:02 +0100
From: Bjørn Mork <bjorn@...k.no>
To: linux-usb@...r.kernel.org
Cc: Dan Williams <dcbw@...hat.com>, Oliver Neukum <oliver@...kum.org>,
Bjørn Mork <bjorn@...k.no>,
netdev@...r.kernel.org
Subject: [PATCH net-next/usb-next v3 0/5] cdc-wdm/qmi_wwan: subdriver support
This patch set enables the cdc-wdm USB class driver to be used as a
subdriver, and updates the qmi_wwan usbnet minidriver to use this
new functionality.
The purpose is to support a number of 3G/LTE devices based on Qualcomm
chipsets providing a single USB interface combining usbnet and
Qualcomm Messaging Interface (QMI) protocol support. The usbnet wwan
interface must be initialized via the QMI channel before it is usable.
This initialization is complex and depends on many user policy decisions.
By using the cdc-wdm driver to export the QMI interface as a character
device, all this complexity can be left to userspace applications. This
makes us able to support a large number of different devices with very
different capabilities using a single relatively simple driver.
The 2 previous revisions of this set were considered work-in-progress
and were therefore only posted to the linux-usb list for discussion, to
avoid having them end up unnecessarily in netdev patchworks.
Changes in v3:
- move manage_power call in wdm_open() outside the section where we
hold the wlock mutex
- proper initialization of the pmcount counter
- added all non-QDL Gobi device IDs from qcserial driver
Only patch 4 and 5 of this set applies to, and is crossposted to, netdev.
Note that the netdev patches still depend on the 3 first patches of this
set, and should not be applied independently. The 3 first do not yet
apply to net-next, as they depend on other patches in usb-next and
linux-next. Please let me know if this sort of cross-system
patch set should be handled otherwise.
All 5 patches are verified to apply cleanly to linux-next tag next-20120229.
Patches 1-3 are verified to apply to usb-next commit aac1fc386
Patches 4-5 are verified to apply to net-next commit 9100eb012 , but will
cause build errors there due to the lack of the required 3 first patches
as noted above.
Bjørn Mork (5):
usb: cdc-wdm: split out reusable parts of probe
usb: cdc-wdm: adding list lookup indirection
usb: cdc-wdm: adding usb_cdc_wdm_register subdriver support
net: qmi_wwan: support devices having a shared QMI/wwan interface
net: qmi_wwan: add Gobi and Pantech UML290 device IDs
drivers/net/usb/qmi_wwan.c | 248 ++++++++++++++++++++++++++++++++++++++++---
drivers/usb/class/cdc-wdm.c | 224 +++++++++++++++++++++++++++-----------
include/linux/usb/cdc-wdm.h | 19 ++++
3 files changed, 410 insertions(+), 81 deletions(-)
create mode 100644 include/linux/usb/cdc-wdm.h
--
1.7.9
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists