to add pxa3xx USB support
"Bridge Wu" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
As you might know, the pxa3xx code for xscale core has been in 2.6.24-rc1. Now we are going to add pxa3xx USB support. The host controller and one of client controller are similar to the pxa27x's. We could modify ohci-pxa27x.c to support pxa3xx and modify pxa2xx-udc.c to support that client controller. The question is should we keep the same file or use different files? The same file to support both would avoid repeating a lot of common code, but the filename will be a little confusing (e.g, ohci-pxa27x.c support pxa3xx, pxa2xx-udc.c support pxa3xx-udc). Or using ohci-pxa.c to support both pxa27x and pxa3xx? For the client controller, pxa3xx has another one which supports usb2.0. That is difference with 1.1 controller, but still has some common things. Is it good to use pxa3xx-u2d.c to implement that 2.0 controller? Or implementing a common pxa client controller code, followed with other pxa2xx, pxa27x, pxa3xx-udc and pxa3xx-u2d specific code? -- Thanks, Bridge ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel