On Thu, 2005-01-06 at 13:10 -0800, David Brownell wrote:

> But surely it'd be better to have one arch-neutral call in
> the chip's driver; nobody else needs to know how that
> hardware signal works.

I don't know that you have a choice on all architectures. e.g. an ISA
IRQ is always rising edge. (or is it falling, in any case it is fixed).
PXA255 can only do rising and/or falling but not proper level triggered.

So only the architecture specific code (i.e. the board support stuff)
knows what the available options are and which is best on a given
platform. So it sets up the IRQ as appropriate and tells the driver via
platform data what it has configured.

Ian.

-- 
Ian Campbell




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to