diff options
author | mokopatches <mokopatches@openmoko.org> | 2008-11-19 17:03:13 +0000 |
---|---|---|
committer | warmcat <andy@warmcat.com> | 2008-11-19 17:03:13 +0000 |
commit | c63474bdc3d45e06d0b0f8a4dc8cace828b780d2 (patch) | |
tree | 3df0063b93844ce4d9ff0dbeae0225eaf8bc588a /drivers/usb | |
parent | 8ec503072205fc5689823e693bf62227cb16292f (diff) |
g_ether-vendor_product.patch
Use FIC's own USB Vendor ID rather than NetChip's
Yes, we could solve this by some modprobe.conf parameters, but I'd like to
rather not rely on this.
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/ether.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index f48b6055772..bb1a9e8c4d9 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -122,11 +122,16 @@ static inline bool has_rndis(void) * Instead: allocate your own, using normal USB-IF procedures. */ +#if 0 /* Thanks to NetChip Technologies for donating this product ID. * It's for devices with only CDC Ethernet configurations. */ #define CDC_VENDOR_NUM 0x0525 /* NetChip */ #define CDC_PRODUCT_NUM 0xa4a1 /* Linux-USB Ethernet Gadget */ +#else +#define CDC_VENDOR_NUM 0x1457 /* First International Computer */ +#define CDC_PRODUCT_NUM 0x5117 /* Linux-USB Ethernet Gadget */ +#endif /* For hardware that can't talk CDC, we use the same vendor ID that * ARM Linux has used for ethernet-over-usb, both with sa1100 and @@ -147,8 +152,8 @@ static inline bool has_rndis(void) * used with CDC Ethernet, Linux 2.4 hosts will need updates to choose * the non-RNDIS configuration. */ -#define RNDIS_VENDOR_NUM 0x0525 /* NetChip */ -#define RNDIS_PRODUCT_NUM 0xa4a2 /* Ethernet/RNDIS Gadget */ +#define RNDIS_VENDOR_NUM 0x1457 /* NetChip */ +#define RNDIS_PRODUCT_NUM 0x5122 /* Ethernet/RNDIS Gadget */ /*-------------------------------------------------------------------------*/ |