On Thursday 06 July 2006 6:08 pm, Ben Williamson wrote: > David Brownell wrote: > > Make that <linux/usb/midi.h> or maybe <linux/usb/audio.h> ... in > > fact, several pending patches move <linux/usb_*.h> files into that > > subdirectory, so watch out when this is ready to submit. > > Ok thanks. How can I track where those patches are up to? I'm > pulling from Linus at the moment.
The USB directory at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/ That can easily be missing some of the more recent patches. > > This still have some debris left over from gadget zero... > > Agreed, a certain amount is still there due to fear of breaking what > I don't understand. I might have some more questions when I go through > it more closely, but I have to say your doco has been excellent. Glad to hear that the fiendish plot appears to be working. ;) > > I don't think this is a case where usb_ep_alloc_buffer() and friends > > are desired ... such buffers are normally not cacheable. > > Ok - so just kmalloc is the go here? In your case, sure. I'd probably be tempted to just glom the buffers onto the per-device structure, on the grounds that multiple allocations are just asking for trouble. > I went with the "ugly macro > hacks should look ugly" theory, I didn't want to hide this from attention. > I'm more than happy to make the macro names lower case and include the struct > keyword in the name and definition: How about just using the macros to declare struct types, like maybe a DECLARE_MIDI_JACK_TYPE(n) that expands to a "struct usb_midi_out_jack_descriptor_n {...};" and then have that be the type name showing up in the source. - Dave 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