lkml.org 
[lkml]   [2016]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 218/346] USB: serial: option: add WeTelecom 0x6802 and 0x6803 products
    3.16.39-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>

    commit 40d9c32525cba79130612650b1abc47c0c0f19a8 upstream.

    These product IDs are listed in Windows driver.
    0x6803 corresponds to WeTelecom WM-D300.
    0x6802 name is unknown.

    Signed-off-by: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    drivers/usb/serial/option.c | 4 ++++
    1 file changed, 4 insertions(+)

    --- a/drivers/usb/serial/option.c
    +++ b/drivers/usb/serial/option.c
    @@ -530,6 +530,8 @@ static void option_instat_callback(struc
    /* WeTelecom products */
    #define WETELECOM_VENDOR_ID 0x22de
    #define WETELECOM_PRODUCT_WMD200 0x6801
    +#define WETELECOM_PRODUCT_6802 0x6802
    +#define WETELECOM_PRODUCT_WMD300 0x6803

    /* some devices interfaces need special handling due to a number of reasons */
    enum option_blacklist_reason {
    @@ -2007,6 +2009,8 @@ static const struct usb_device_id option
    { USB_DEVICE(INOVIA_VENDOR_ID, INOVIA_SEW858) },
    { USB_DEVICE(VIATELECOM_VENDOR_ID, VIATELECOM_PRODUCT_CDS7) },
    { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_WMD200, 0xff, 0xff, 0xff) },
    + { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_6802, 0xff, 0xff, 0xff) },
    + { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_WMD300, 0xff, 0xff, 0xff) },
    { } /* Terminating entry */
    };
    MODULE_DEVICE_TABLE(usb, option_ids);
    \
     
     \ /
      Last update: 2016-11-14 03:40    [W:4.017 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site