tree e2849468fa7d8b5d2509671bb813cca955d06438
parent 7ab7c34c90797b9df52720720ab5d5e9edd05114
author David Brownell <[EMAIL PROTECTED]> Tue, 19 Apr 2005 07:39:29 -0700
committer Greg K-H <[EMAIL PROTECTED]> Tue, 19 Apr 2005 07:39:29 -0700

[PATCH] USB: usbnet and zaurus zl-5600

Hmm, another case of a Zaurus ROM not telling the expected conformance lie;
this patch handles the lies told by the SL5600.

From: [EMAIL PROTECTED]
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 usb/net/usbnet.c |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

Index: drivers/usb/net/usbnet.c
===================================================================
--- 1fff72f9091c63688be9cf2565e404d8ca9ae623/drivers/usb/net/usbnet.c  
(mode:100644 sha1:0ebb79c2937f48623e0ac1762649da6f4ea0649b)
+++ e2849468fa7d8b5d2509671bb813cca955d06438/drivers/usb/net/usbnet.c  
(mode:100644 sha1:bbaef047d53255e9fdeba80a9136e5057e39b50d)
@@ -4017,10 +4017,23 @@
        .idProduct              = 0x9050,       /* C-860 */
        ZAURUS_MASTER_INTERFACE,
        .driver_info = ZAURUS_PXA_INFO,
+},
+
 #ifdef CONFIG_USB_ZAURUS
-       /* at least some (reports vary) C-860 units have very different
-        * lies about their standards support.
+       /* at least some (reports vary) PXA units have very different
+        * lies about their standards support:  they claim to be cell
+        * phones giving direct radio access (which they aren't).
         */
+{
+       .match_flags    =   USB_DEVICE_ID_MATCH_INT_INFO
+                | USB_DEVICE_ID_MATCH_DEVICE,
+       .idVendor               = 0x04DD,
+       /* Sharp ROM v1.32 */
+       .idProduct              = 0x8006,       /* SL-5600 */
+       .bInterfaceClass        = USB_CLASS_COMM,
+       .bInterfaceSubClass     = USB_CDC_SUBCLASS_MDLM,
+       .bInterfaceProtocol     = USB_CDC_PROTO_NONE,
+       .driver_info            = (unsigned long) &zaurus_pxa_mdlm_info,
 }, {
        .match_flags    =   USB_DEVICE_ID_MATCH_INT_INFO
                 | USB_DEVICE_ID_MATCH_DEVICE,
@@ -4031,8 +4044,8 @@
        .bInterfaceSubClass     = USB_CDC_SUBCLASS_MDLM,
        .bInterfaceProtocol     = USB_CDC_PROTO_NONE,
        .driver_info            = (unsigned long) &zaurus_pxa_mdlm_info,
-#endif
 },
+#endif
 
 /* Olympus has some models with a Zaurus-compatible option.
  * R-1000 uses a FreeScale i.MXL cpu (ARMv4T)
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to