lkml.org 
[lkml]   [2012]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[30/40] USB: option: add id for 3G dongle Model VT1000 of Viettel
    3.0-stable review patch.  If anyone has any objections, please let me know.

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

    From: VU Tuan Duc <DucVT@viettel.com.vn>

    commit 5b061623355d8f69327a24838b0aa05e435ae5d5 upstream.

    Add VendorID/ProductID for USB 3G dongle Model VT1000 of Viettel.

    Signed-off-by: VU Tuan Duc <ducvt@viettel.com.vn>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/usb/serial/option.c | 5 +++++
    1 file changed, 5 insertions(+)

    --- a/drivers/usb/serial/option.c
    +++ b/drivers/usb/serial/option.c
    @@ -472,6 +472,10 @@ static void option_instat_callback(struc
    #define YUGA_PRODUCT_CLU528 0x260D
    #define YUGA_PRODUCT_CLU526 0x260F

    +/* Viettel products */
    +#define VIETTEL_VENDOR_ID 0x2262
    +#define VIETTEL_PRODUCT_VT1000 0x0002
    +
    /* some devices interfaces need special handling due to a number of reasons */
    enum option_blacklist_reason {
    OPTION_BLACKLIST_NONE = 0,
    @@ -1173,6 +1177,7 @@ static const struct usb_device_id option
    { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU516) },
    { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU528) },
    { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU526) },
    + { USB_DEVICE_AND_INTERFACE_INFO(VIETTEL_VENDOR_ID, VIETTEL_PRODUCT_VT1000, 0xff, 0xff, 0xff) },
    { } /* Terminating entry */
    };
    MODULE_DEVICE_TABLE(usb, option_ids);



    \
     
     \ /
      Last update: 2012-01-11 00:07    [W:4.032 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site