summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/option.c
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-02-29 16:39:57 +0100
committerJohan Hovold <johan@kernel.org>2016-03-01 11:01:33 +0100
commitc0992d0f54847d0d1d85c60fcaa054f175ab1ccd (patch)
tree740ca87ebf27bed0972495987fa2fac331bf4ed0 /drivers/usb/serial/option.c
parent5deef5551c77e488922cc4bf4bc76df63be650d0 (diff)
downloadlinux-c0992d0f54847d0d1d85c60fcaa054f175ab1ccd.tar.gz
linux-c0992d0f54847d0d1d85c60fcaa054f175ab1ccd.tar.bz2
linux-c0992d0f54847d0d1d85c60fcaa054f175ab1ccd.zip
USB: serial: option: add support for Quectel UC20
Add support for Quectel UC20 and blacklist the QMI interface. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Cc: stable <stable@vger.kernel.org> [johan: amend commit message ] Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r--drivers/usb/serial/option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 8cea03fbdbf0..348e19834b83 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1133,6 +1133,8 @@ static const struct usb_device_id option_ids[] = {
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0023)}, /* ONYX 3G device */
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9000)}, /* SIMCom SIM5218 */
+ { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9003), /* Quectel UC20 */
+ .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) },
{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) },
{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6003),