I'm wondering whether the Linux 2.6.21.5 ether.c driver from kernel.org is 
in a state that is expected to support the PXA270 ARM XScale CPU. I see 
indications in the source code that make me wonder if it has been used 
with the PXA270. I'm having trouble with a version of that driver that 
I've backported to Linux 2.6.15. 

In particular: In Linux 2.6.21.5 ether.c I would like to know whether it 
was a conscious decision or an accident that the places where 
gadget_is_pxa is called that gadget_is_pxa27x is not also called. 

In 2.6.21.5 in ether.c where there are calls to 
   gadget_is_pxa (gadget) 
 should they instead be: 
    gadget_is_pxa (gadget) || gadget_is_pxa27x (gadget) 

Note that the pxa2xx_udc driver (for pre-PXA270 such as PXA255) is 
different than the pxa27x_udc driver. I have the pxa27x_udc driver loaded. 


Do the developers believe that the PXA270 USB circuitry is not as limited 
and hobbled as the earlier PXA2XX circuitry and therefore can support full 
CDC Ethernet and not just some subset? Effectively that is what the 
ether.c will do now as far as I can tell. 

Or was the existence of the separate gadget_is_pxa27x test routine and 
separate pxa27x_udc driver just overlooked? 

I also suspect that usb_ep_autoconfig isn't compatible with the PXA270 (it 
is failing for me) and that instead in the PXA270 case the routine 
pxa27x_ep_config from the pxa27x_udc.c should be used (which I'm about to 
try).

Parenthetically the pxa27x_udc driver is not in the 2.6.21.5 kernel and I 
can't find the latest full version of it and at least 6 patches are 
floating around for it since the 2.6.14 version which I think came from 
Intel. Anyone know where to get a good very recent version of it?

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to