That stack trace looks broken to me, since it has impossible call sequences...
It may not matter though: yes, allocation in interrupt shouldn't blow up. Returning 0 on error would be better, even though davem wants a designated error value #defined, since layers above should handle such errors sanely. > But if someone needs to have this working for them right now, this > shoudl tell you what you need. :) Or for a _real_ quick'n'dirty, just preallocate all the EDs and TDs you'll need ... modify ohci_sa1111_start() after the memory is initialized. After ohci_mem_init(), it may suffice to just preallocate one each, since each page fits a fair number of those data structures. x86 has 64 TDs/4K page, which is likely enough for a couple active devices unless you're streaming ISO. - Dave ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
