netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitriy Taychenachev <dimichxp@gmail.com>
To: netdev@vger.kernel.org
Subject: [PATCH] zaurus: add usb id for motomagx phones
Date: Wed, 25 Feb 2009 12:42:48 +0800	[thread overview]
Message-ID: <926cbbc4e9918fbc372a.1235536968@wifi.master> (raw)

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.

             reply	other threads:[~2009-02-25  4:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-25  4:42 Dmitriy Taychenachev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-25  4:04 [PATCH] zaurus: add usb id for motomagx phones Dmitriy Taychenachev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=926cbbc4e9918fbc372a.1235536968@wifi.master \
    --to=dimichxp@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).