Re: linux-kernel - [PATCH 2.6.27] USB QUANTA HSDPA Data Card Driver

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

 




Alex.Cheng-nXwZKfITCkNWk0Htik3J/w@xxxxxxxxxxxxxxxx wrote:
> This patch adds the support  for the QUANTA Q101 series HSDPA Data Card.  
> With the vendor and product IDs are set properly, 
> the data card can be detected and works fine.
> It was patched based on Kernel 2.6.27
> 
> Signed-off-by: Alex Cheng <alex.cheng@xxxxxxxxxxxx>
> 
> 
> Index: drivers/usb/serial/option.c
> ===================================================================
> --- linux-2.6.27/drivers/usb/serial/option.c	2008-10-10 06:13:53.000000000 +0800
> +++ linux-2.6.27/drivers/usb/serial/option.c-2.6.27-patched	2009-01-22 15:42:37.000000000 +0800
> @@ -122,6 +122,13 @@ static int  option_send_setup(struct tty
>  #define HUAWEI_PRODUCT_E1418			0x1418
>  #define HUAWEI_PRODUCT_E1419			0x1419
>  
> +#define QUANTA_VENDOR_ID			0x0408
> +#define QUANTA_PRODUCT_Q101                 	0xEA02
> +#define QUANTA_PRODUCT_Q111			0xEA03
> +#define QUANTA_PRODUCT_GLX			0xEA04
> +#define QUANTA_PRODUCT_GKE			0xEA05
> +#define QUANTA_PRODUCT_GLE			0xEA06
> +
>  #define NOVATELWIRELESS_VENDOR_ID		0x1410
>  
>  /* MERLIN EVDO PRODUCTS */
> @@ -256,6 +263,11 @@ static struct usb_device_id option_ids[]
>  	{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_NETWORK_EX) },
>  	{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_KOI_MODEM) },
>  	{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_KOI_NETWORK) },
> +	{ USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q101) }, /* For QUANTA Q101 datacard */
> +        { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q111) }, /* For QUANTA Q111 datacard */
> +        { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLX) }, /* For QUANTA GLX datacard */
> +        { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GKE) }, /* For QUANTA GKE datacard */
> +        { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLE) }, /* For QUANTA GLE datacard */

Use TABs for indentation.

>  	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E600, 0xff, 0xff, 0xff) },
>  	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220, 0xff, 0xff, 0xff) },
>  	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220BIS, 0xff, 0xff, 0xff) },
> ===================================================================
> 
> -
> Alex Cheng
> alex.cheng@xxxxxxxxxxxx
>  
> N?????r??y???b?X??g(v?^?)?{.n?+????{?????^n?r??z???h????&????????v??fp)??br	???+??+zf???h???~????i???z??w????????&?)?fl===

--
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