aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-04-18 20:39:29 -0400
committerGreg K-H <gregkh@suse.de>2005-04-18 20:39:29 -0400
commita2fe20129e2d87dc5c4e5c850b41b5b0b47cfd08 (patch)
treee2849468fa7d8b5d2509671bb813cca955d06438 /drivers/usb
parent7ab7c34c90797b9df52720720ab5d5e9edd05114 (diff)
[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: bender647@gmail.com Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/net/usbnet.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c
index 0ebb79c2937f..bbaef047d532 100644
--- a/drivers/usb/net/usbnet.c
+++ b/drivers/usb/net/usbnet.c
@@ -4017,10 +4017,23 @@ static const struct usb_device_id products [] = {
4017 .idProduct = 0x9050, /* C-860 */ 4017 .idProduct = 0x9050, /* C-860 */
4018 ZAURUS_MASTER_INTERFACE, 4018 ZAURUS_MASTER_INTERFACE,
4019 .driver_info = ZAURUS_PXA_INFO, 4019 .driver_info = ZAURUS_PXA_INFO,
4020},
4021
4020#ifdef CONFIG_USB_ZAURUS 4022#ifdef CONFIG_USB_ZAURUS
4021 /* at least some (reports vary) C-860 units have very different 4023 /* at least some (reports vary) PXA units have very different
4022 * lies about their standards support. 4024 * lies about their standards support: they claim to be cell
4025 * phones giving direct radio access (which they aren't).
4023 */ 4026 */
4027{
4028 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
4029 | USB_DEVICE_ID_MATCH_DEVICE,
4030 .idVendor = 0x04DD,
4031 /* Sharp ROM v1.32 */
4032 .idProduct = 0x8006, /* SL-5600 */
4033 .bInterfaceClass = USB_CLASS_COMM,
4034 .bInterfaceSubClass = USB_CDC_SUBCLASS_MDLM,
4035 .bInterfaceProtocol = USB_CDC_PROTO_NONE,
4036 .driver_info = (unsigned long) &zaurus_pxa_mdlm_info,
4024}, { 4037}, {
4025 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO 4038 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
4026 | USB_DEVICE_ID_MATCH_DEVICE, 4039 | USB_DEVICE_ID_MATCH_DEVICE,
@@ -4031,8 +4044,8 @@ static const struct usb_device_id products [] = {
4031 .bInterfaceSubClass = USB_CDC_SUBCLASS_MDLM, 4044 .bInterfaceSubClass = USB_CDC_SUBCLASS_MDLM,
4032 .bInterfaceProtocol = USB_CDC_PROTO_NONE, 4045 .bInterfaceProtocol = USB_CDC_PROTO_NONE,
4033 .driver_info = (unsigned long) &zaurus_pxa_mdlm_info, 4046 .driver_info = (unsigned long) &zaurus_pxa_mdlm_info,
4034#endif
4035}, 4047},
4048#endif
4036 4049
4037/* Olympus has some models with a Zaurus-compatible option. 4050/* Olympus has some models with a Zaurus-compatible option.
4038 * R-1000 uses a FreeScale i.MXL cpu (ARMv4T) 4051 * R-1000 uses a FreeScale i.MXL cpu (ARMv4T)