Russell King wrote:
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.

I think I had noticed that ... ;)


Feel free to teach that driver how to do the "right thing"; I
Strong(ARM)ly think you'll know what that is before I do!


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.





-------------------------------------------------------
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

Reply via email to