[PATCH] additional PID's to be handled by cdc_ether

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

 



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

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