On Tue, Sep 16, 2003 at 12:39:30PM -0700, David Brownell wrote: > If the (somewhat) generic DMA API is the answer here, then one issue > will be that this driver doesn't yet hook up to sysfs ... it needs > to be some kind of system/platform/... device.
I believe it is the answer, and yes you will need at least a struct device of some sort, and a struct device_driver. The situation concerning platform devices is very much up in the air at the moment. > The req_* stuff should only be changed in the IRQ handler, or when > IRQs are blocked. If it's changed at other times, that needs fixing. > (Since this isn't SMP, I'm assuming that "IRQs are blocked" suffices > for such locking.) I think the only possible trouble scenarios will > involve deferred responses, as with "gadgetfs". Ok, this sounds fine. -- Russell King ([EMAIL PROTECTED]) http://www.arm.linux.org.uk/personal/ Linux kernel maintainer of: 2.6 ARM Linux - http://www.arm.linux.org.uk/ 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
