Re: USB: serial: option: add support for TP-Link LTE module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 11, 2017 at 03:44:03PM +0200, Henryk Heisig wrote:
> commit 4b3dbf9093d8b5ced1a3c13cfa4113e897eb3b16
> Author: Henryk Heisig <hyniu@xxxxx>
> Date:   Mon Sep 11 14:15:22 2017 +0200
> 
>     USB: serial: option: add support for TP-Link LTE module
> 
>     This commit adds support for TP-Link LTE mPCIe module is used
>     in in TP-Link MR200v1, MR6400v1 and v2 routers.
> 
>     Signed-off-by: Henryk Heisig <hyniu@xxxxx>

Why this format?  Please send it properly using 'git send-email'

> 
> diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
> index ebe51f11..abbe58c 100644
> --- a/drivers/usb/serial/option.c
> +++ b/drivers/usb/serial/option.c
> @@ -522,6 +522,7 @@ static void option_instat_callback(struct urb *urb);
> 
>  /* TP-LINK Incorporated products */
>  #define TPLINK_VENDOR_ID                       0x2357
> +#define TPLINK_PRODUCT_LTE                     0x000D
>  #define TPLINK_PRODUCT_MA180                   0x0201
> 
>  /* Changhong products */
> @@ -2011,6 +2012,7 @@ static const struct usb_device_id option_ids[] = {
>         { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
>         { USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600A) },
>         { USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600E) },
> +       { USB_DEVICE_AND_INTERFACE_INFO(TPLINK_VENDOR_ID,
> TPLINK_PRODUCT_LTE, 0xff, 0x00, 0x00) },      /* TP-Link LTE Module */
>         { USB_DEVICE(TPLINK_VENDOR_ID, TPLINK_PRODUCT_MA180),
>           .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
>         { USB_DEVICE(TPLINK_VENDOR_ID,
> 0x9000),                                 /* TP-Link MA260 */

Patch is whitespace damaged and line-wrapped, making it impossible to
apply :(

try again?

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux