cdc_ether: add usb id for Ericsson F3507g

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, March 2, 2009 - 5:01 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cac477...
Commit:     cac477e8f1038c41b6f29d3161ce351462ef3df7
Parent:     6709fe9a27e43a4931938fe0d7f2cc5edef31386
Author:     Bjørn Mork <bjorn@mork.no>
AuthorDate: Wed Feb 25 04:33:58 2009 +0000
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Sun Mar 1 20:44:21 2009 -0800

    cdc_ether: add usb id for Ericsson F3507g
    
    The Ericsson F3507g wireless broadband module provides a CDC Ethernet
    compliant interface, but identifies it as a "Mobile Direct Line" CDC
    subclass, thereby preventing the CDC Ethernet class driver from picking
    it up.  This patch adds the device id to cdc_ether.c as a workaround.
    
    Ericsson has provided a "class" driver for this device:
    http://kerneltrap.org/mailarchive/linux-net/2008/10/28/3832094
    But closer inspection of that driver reveals that it adds little more
    than duplication of code from cdc_ether.c.  See also
    http://marc.info/?l=linux-usb&m=123334979706403&w=2
    
    Signed-off-by: Bjørn Mork <bjorn@mork.no>
    Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/usb/cdc_ether.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 0e061df..55e8ecc 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -559,6 +559,11 @@ static const struct usb_device_id	products [] = {
 	USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET,
 			USB_CDC_PROTO_NONE),
 	.driver_info = (unsigned long) &cdc_info,
+}, {
+	/* Ericsson F3507g */
+	USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1900, 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 git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cdc_ether: add usb id for Ericsson F3507g, Linux Kernel Mailing ..., (Mon Mar 2, 5:01 pm)