I'm working on support for a chip which handles EP0 trafic almost completely in hardware (Hynix H7202). As you don't get things like Set Configuration Requests the usual state machines do not work, so I fake the calls from the reset interrupt.
That means that I have to call dev->driver->setup() from within the controller driver's irq routine and I have to fake the values for the request, which works pretty find. The problem is that the controller driver has to know which configuration to chose, and that's unfortunately gadget driver dependend. So far, I have no good idea how to abstract this. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hornemannstra�e 12, 31137 Hildesheim, Germany Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
