summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Taychenachev <dimichxp@gmail.com>2009-02-24 18:42:48 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-16 17:53:01 -0700
commitfd65b61d50bfbe5437bf5d847c2ef7eba554b528 (patch)
tree5019cbecc9a5bb64aeff02971748093fc9190dad
parentd8e7babd7dc570e3b62cf82cdd9a4eb4aca6f45a (diff)
downloadlwn-fd65b61d50bfbe5437bf5d847c2ef7eba554b528.tar.gz
lwn-fd65b61d50bfbe5437bf5d847c2ef7eba554b528.zip
zaurus: add usb id for motomagx phones
commit 52c0326beaa3cb0049d0f1c51c6ad5d4a04e4430 upstream. The Motorola MOTOMAGX phones (Z6, E8, Zn5 so far) are providing combined ACM/BLAN USB configuration. Since it has Vendor Specific class, the corresponding drivers (cdc-acm, zaurus) can't find it just by interface info. This patch adds usb id so the zaurus driver can properly handle this combined device. Signed-off-by: Dmitriy Taychenachev <dimichxp@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/net/usb/zaurus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/usb/zaurus.c b/drivers/net/usb/zaurus.c
index e24f7b3ace4b..04882c8f9bf1 100644
--- a/drivers/net/usb/zaurus.c
+++ b/drivers/net/usb/zaurus.c
@@ -341,6 +341,11 @@ static const struct usb_device_id products [] = {
USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_MDLM,
USB_CDC_PROTO_NONE),
.driver_info = (unsigned long) &bogus_mdlm_info,
+}, {
+ /* Motorola MOTOMAGX phones */
+ USB_DEVICE_AND_INTERFACE_INFO(0x22b8, 0x6425, USB_CLASS_COMM,
+ USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
+ .driver_info = (unsigned long) &bogus_mdlm_info,
},
/* Olympus has some models with a Zaurus-compatible option.