netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] zaurus: add usb id for motomagx phones
@ 2009-02-25  4:04 Dmitriy Taychenachev
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitriy Taychenachev @ 2009-02-25  4:04 UTC (permalink / raw)
  To: netdev

The Motorola MOTOMAGX phones (Z6, E8, Zn5 so far) are providing
combined 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>

diff -r 6d17f21bc660 -r 9d2490ddb000 drivers/net/usb/zaurus.c
--- a/drivers/net/usb/zaurus.c	Tue Feb 24 13:23:08 2009 +0800
+++ b/drivers/net/usb/zaurus.c	Tue Feb 24 13:23:08 2009 +0800
@@ -341,6 +341,11 @@
 	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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] zaurus: add usb id for motomagx phones
@ 2009-02-25  4:42 Dmitriy Taychenachev
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitriy Taychenachev @ 2009-02-25  4:42 UTC (permalink / raw)
  To: netdev

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>

diff -r 2651740bf64c -r 926cbbc4e991 drivers/net/usb/zaurus.c
--- a/drivers/net/usb/zaurus.c	Tue Feb 24 13:23:08 2009 +0800
+++ b/drivers/net/usb/zaurus.c	Tue Feb 24 13:23:08 2009 +0800
@@ -341,6 +341,11 @@
 	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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-25  4:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-25  4:42 [PATCH] zaurus: add usb id for motomagx phones Dmitriy Taychenachev
  -- strict thread matches above, loose matches on Subject: below --
2009-02-25  4:04 Dmitriy Taychenachev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).