Patchwork [-next] cdc_ether: additional PID's to the whitelist

login
register
mail settings
Submitter Jonas Sjöquist
Date June 18, 2009, 11:50 a.m.
Message ID <94BF386B051B5849BA84A45DDFC4E60A05035C38@esealmw118.eemea.ericsson.se>
Download mbox | patch
Permalink /patch/28862/
State Accepted
Delegated to: David Miller
Headers show

Comments

Jonas Sjöquist - June 18, 2009, 11:50 a.m.
This patch adds five PID's to the whitelist set of devices.

Devices added to the whitelist:

Dell Wireless 5530 HSPA
Ericsson Mobile Broadband Module variants (F3507g, F3607gw and F3307)
Toshiba F3507g

Signed-off-by: Jonas Sjöquist <jonas.sjoquist@ericsson.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Brownell - June 19, 2009, 1:26 p.m.
On Thursday 18 June 2009, Jonas Sjöquist wrote:
> This patch adds five PID's to the whitelist set of devices.
> 
> Devices added to the whitelist:
> 
> Dell Wireless 5530 HSPA
> Ericsson Mobile Broadband Module variants (F3507g, F3607gw and F3307)
> Toshiba F3507g
> 
> Signed-off-by: Jonas Sjöquist <jonas.sjoquist@ericsson.com>

Acked-by: David Brownell <dbrownell@users.sourceforge.net>



> 
> diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig
> index 3717569..5a6797a 100644
> --- a/drivers/net/usb/Kconfig
> +++ b/drivers/net/usb/Kconfig
> @@ -169,10 +169,12 @@ config USB_NET_CDCETHER
>  	  The Linux-USB CDC Ethernet Gadget driver is an open implementation.
>   	  This driver should work with at least the following devices:
>  
> + 	    * Dell Wireless 5530 HSPA
>   	    * Ericsson PipeRider (all variants)
> + 	    * Ericsson Mobile Broadband Module (all variants)
>   	    * Motorola (DM100 and SB4100)
>   	    * Broadcom Cable Modem (reference design)
> - 	    * Toshiba PCX1100U
> + 	    * Toshiba (PCX1100U and F3507g)
>  	    * ...
>  
>  	  This driver creates an interface named "ethX", where X depends on
> diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
> index 01fd528..4a6aff5 100644
> --- a/drivers/net/usb/cdc_ether.c
> +++ b/drivers/net/usb/cdc_ether.c
> @@ -533,6 +533,31 @@ static const struct usb_device_id	products [] = {
>  	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1900, USB_CLASS_COMM,
>  			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
>  	.driver_info = (unsigned long) &cdc_info,
> +}, {
> +	/* Ericsson F3507g ver. 2 */
> +	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1902, USB_CLASS_COMM,
> +			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
> +	.driver_info = (unsigned long) &cdc_info,
> +}, {
> +	/* Ericsson F3607gw */
> +	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1904, USB_CLASS_COMM,
> +			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
> +	.driver_info = (unsigned long) &cdc_info,
> +}, {
> +	/* Ericsson F3307 */
> +	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1906, USB_CLASS_COMM,
> +			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
> +	.driver_info = (unsigned long) &cdc_info,
> +}, {
> +	/* Toshiba F3507g */
> +	USB_DEVICE_AND_INTERFACE_INFO(0x0930, 0x130b, USB_CLASS_COMM,
> +			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
> +	.driver_info = (unsigned long) &cdc_info,
> +}, {
> +	/* Dell F3507g */
> +	USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x8147, USB_CLASS_COMM,
> +			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
> +	.driver_info = (unsigned long) &cdc_info,
>  },
>  	{ },		// END
>  };
> 
> 


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

Patch

diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig
index 3717569..5a6797a 100644
--- a/drivers/net/usb/Kconfig
+++ b/drivers/net/usb/Kconfig
@@ -169,10 +169,12 @@  config USB_NET_CDCETHER
 	  The Linux-USB CDC Ethernet Gadget driver is an open implementation.
  	  This driver should work with at least the following devices:
 
+ 	    * Dell Wireless 5530 HSPA
  	    * Ericsson PipeRider (all variants)
+ 	    * Ericsson Mobile Broadband Module (all variants)
  	    * Motorola (DM100 and SB4100)
  	    * Broadcom Cable Modem (reference design)
- 	    * Toshiba PCX1100U
+ 	    * Toshiba (PCX1100U and F3507g)
 	    * ...
 
 	  This driver creates an interface named "ethX", where X depends on
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 01fd528..4a6aff5 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -533,6 +533,31 @@  static const struct usb_device_id	products [] = {
 	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1900, USB_CLASS_COMM,
 			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
 	.driver_info = (unsigned long) &cdc_info,
+}, {
+	/* Ericsson F3507g ver. 2 */
+	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1902, USB_CLASS_COMM,
+			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
+	.driver_info = (unsigned long) &cdc_info,
+}, {
+	/* Ericsson F3607gw */
+	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1904, USB_CLASS_COMM,
+			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
+	.driver_info = (unsigned long) &cdc_info,
+}, {
+	/* Ericsson F3307 */
+	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1906, USB_CLASS_COMM,
+			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
+	.driver_info = (unsigned long) &cdc_info,
+}, {
+	/* Toshiba F3507g */
+	USB_DEVICE_AND_INTERFACE_INFO(0x0930, 0x130b, USB_CLASS_COMM,
+			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
+	.driver_info = (unsigned long) &cdc_info,
+}, {
+	/* Dell F3507g */
+	USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x8147, USB_CLASS_COMM,
+			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
+	.driver_info = (unsigned long) &cdc_info,
 },
 	{ },		// END
 };