usb/94148: Make if_cdce work with ARM linux handhelds

Matthew Reimer mreimer at vpop.net
Mon Mar 6 12:20:06 PST 2006


>Number:         94148
>Category:       usb
>Synopsis:       Make if_cdce work with ARM linux handhelds
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 06 20:20:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Reimer
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
VPOP Technologies, Inc.
>Environment:
System: FreeBSD bilbo.vpop.net 5.4-STABLE FreeBSD 5.4-STABLE #4: Tue Nov 22 15:57:47 PST 2005 mreimer at bilbo.vpop.net:/usr/obj/usr/src/sys/BILBO i386

>Description:
	The attached patches make if_cdce work with ARM-based linux
	handhelds.

>How-To-Repeat:
	patch, build, install, connect PDA via USB
>Fix:


--- usbdevs.orig	Tue Oct 11 11:24:16 2005
+++ usbdevs	Mon Mar  6 12:01:47 2006
@@ -561,6 +561,7 @@ product CHICONY KB8933		0x0001	KB-8933 k
 
 /* Compaq products */
 product COMPAQ PJB100		0x504a	Personal Jukebox PJB100
+product COMPAQ ETHERNETGADGET	0x505a  Linux Ethernet/RNDIS gadget on SA1100/PXA
 
 /* Connectix products */
 product CONNECTIX QUICKCAM	0x0001	QuickCam

--- if_cdce.c.orig	Thu Oct 20 15:35:08 2005
+++ if_cdce.c	Mon Mar  6 12:02:23 2006
@@ -100,6 +100,7 @@ Static const struct cdce_type cdce_devs[
   {{ USB_VENDOR_SHARP, USB_PRODUCT_SHARP_SLC750 }, CDCE_ZAURUS | CDCE_NO_UNION },
   {{ USB_VENDOR_GMATE, USB_PRODUCT_GMATE_YP3X00 }, CDCE_NO_UNION },
   {{ USB_VENDOR_NETCHIP, USB_PRODUCT_NETCHIP_ETHERNETGADGET }, CDCE_NO_UNION },
+  {{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_ETHERNETGADGET }, CDCE_NO_UNION },
 };
 #define cdce_lookup(v, p) ((const struct cdce_type *)usb_lookup(cdce_devs, v, p))
 
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list