Re: RFC: interrupt trigger flags from IRQ resource

From: Anton Vorontsov
Date: Mon May 07 2007 - 10:19:06 EST


On Mon, May 07, 2007 at 01:49:06PM +0000, Ben Dooks wrote:
> At least one driver (drivers/net/dm9000.c) could
> do with being able to configure the trigger type
> of the IRQ depending on the system it is connected
> to. There are two methods for this, and requesting
> comments on these solutions.
>
> 1) The platform data supplied with the device
> carries an unsigned long field with the
> IRQF_TRIGGER_xxx for the system.
>
> 2) The driver convers the flags passed in the
> IORESOURCE_IRQ into an IRQF_TRIGGERR_xxx.

Um.. isn't the similar thing was naked some time ago?

http://lkml.org/lkml/2007/4/16/240

--
Anton Vorontsov
email: cbou@xxxxxxx
backup email: ya-cbou@xxxxxxxxx
irc://irc.freenode.org/bd2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/