All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] additional PID's to be handled by cdc_ether
@ 2009-04-27  7:28 Jonas Sjöquist
  0 siblings, 0 replies; only message in thread
From: Jonas Sjöquist @ 2009-04-27  7:28 UTC (permalink / raw)
  To: jgarzik; +Cc: netdev

Here's a patch which adds two PID's to the Whitelist set of devices handled by cdc_ether. The F3507g modules can have two different PID's indicating hardware revision.

The F3607gw module is a wake-on wireless HSPA module.

This patch applies to kernel 2.6.29.1

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

--- linux-2.6.29.1/drivers/net/usb/cdc_ether.c.orig	2009-04-23 14:07:10.000000000 +0200
+++ linux-2.6.29.1/drivers/net/usb/cdc_ether.c	2009-04-23 13:54:54.000000000 +0200
@@ -560,10 +560,20 @@ static const struct usb_device_id	produc
 			USB_CDC_PROTO_NONE),
 	.driver_info = (unsigned long) &cdc_info,
 }, {
-	/* Ericsson F3507g */
+	/* Ericsson F3507g ver. 1 */
 	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,
 },
 	{ },		// END
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-27  7:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-27  7:28 [PATCH] additional PID's to be handled by cdc_ether Jonas Sjöquist

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.