On Thursday 27 April 2006 6:41 am, Peter.Chen wrote: > > I have another question: > in eq0_irq routine: > > there are such cases:EP0_IN_DATA_PHASE,and EP0_OUT_DATA_PHASE > (eg.at pxa2xx.udc).
Those states are very specific to the pxa25x hardware, and I don't think they match well to any other silicion. In fact they're rather iffy for the pxa25x and the only reason they're used is to match the flakey/incomplete docs from Intel. > maybe for SET_DESCRIPTOR ,GET_DESCRIPTOR,etc > right? > > and there are USB_REQ_GET_DESCRIPTOR ,USB_REQ_SET_DESCRIPTOR > at standard_setup_req routine > at file_storage.c ,we will use it when we invode udc->driver->setup > > So,i am puzzled,which way we will use? Which of *_PHASE? Probably none of them, your hardware probably doesn't use those phasees. Which USB_REQ_*? Whichever one the host provided in its SETUP packet. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel