diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-05-19 07:20:31 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-02 10:30:37 -0700 |
commit | 11cbc507a8451655bd0445a0ca8f9018ce8d20a1 (patch) | |
tree | c6a2413129ceff4d7029946fdae893c63bd225e9 /drivers/net | |
parent | 61df44523230af4f6aaeb4b0aa8131c74cc47ec3 (diff) | |
download | linux-3.10-11cbc507a8451655bd0445a0ca8f9018ce8d20a1.tar.gz linux-3.10-11cbc507a8451655bd0445a0ca8f9018ce8d20a1.tar.bz2 linux-3.10-11cbc507a8451655bd0445a0ca8f9018ce8d20a1.zip |
net: qmi_wwan: Add Vodafone/Huawei K5005 support
commit 88c16dc3bb61a1c1e9d4c78f45cc2107bc8d5249 upstream.
Tested-by: Thomas Schäfer <tschaefer@t-online.de>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/usb/qmi_wwan.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index c2ae4266617..4be2d7f9174 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -407,6 +407,14 @@ static const struct usb_device_id products[] = { .bInterfaceProtocol = 8, /* NOTE: This is the *slave* interface of the CDC Union! */ .driver_info = (unsigned long)&qmi_wwan_info, }, + { /* Vodafone/Huawei K5005 (12d1:14c8) and similar modems */ + .match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = HUAWEI_VENDOR_ID, + .bInterfaceClass = USB_CLASS_VENDOR_SPEC, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 56, /* NOTE: This is the *slave* interface of the CDC Union! */ + .driver_info = (unsigned long)&qmi_wwan_info, + }, { /* Huawei E392, E398 and possibly others in "Windows mode" * using a combined control and data interface without any CDC * functional descriptors |