]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usbnet cdc_subset: fix issues talking to PXA gadgets
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 20 Jun 2009 08:21:53 +0000 (01:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 23:06:14 +0000 (16:06 -0700)
[ Upstream commit 6be832529a8129c9d90a1d3a78c5d503a710b6fc ]

The host-side CDC subset driver is binding more specifically
than it should ... only to PXA 210/25x/26x Linux-USB gadgets.

Loosen that restriction to match the gadget driver driver.
This will various PXA 27x and PXA 3xx devices happier when
talking to Linux hosts, potentially others.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Tested-by: Aric D. Blumer <aric@sdgsystems.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/usb/cdc_subset.c

index c66b9c324f5449918d152b28f144be002ecf6c56..ca39ace0b0eb7ba8a924ba724cbc1258ead98257 100644 (file)
@@ -307,9 +307,10 @@ static const struct usb_device_id  products [] = {
        USB_DEVICE (0x1286, 0x8001),    // "blob" bootloader
        .driver_info =  (unsigned long) &blob_info,
 }, {
-       // Linux Ethernet/RNDIS gadget on pxa210/25x/26x, second config
-       // e.g. Gumstix, current OpenZaurus, ...
-       USB_DEVICE_VER (0x0525, 0xa4a2, 0x0203, 0x0203),
+       // Linux Ethernet/RNDIS gadget, mostly on PXA, second config
+       // e.g. Gumstix, current OpenZaurus, ... or anything else
+       // that just enables this gadget option.
+       USB_DEVICE (0x0525, 0xa4a2),
        .driver_info =  (unsigned long) &linuxdev_info,
 },
 #endif