Hi, I'm trying to port my old gpio code to the generic one to see if it can fit my needs.
The gpio controller is a home made one and has a really weird interface. It has several registers to read the gpio status, to configure gpio directions, or to configure if a gpio can trigger an interrupt and on which event (level or edge). All gpios use the same IRQ and a gpio controller register allows to read which gpio has triggered the interrupt. Now the question is how should irq_to_gpio() work ? Is it supposed to be called only when a gpio interrupt occure ? Another question is how can I specify if a gpio interrupt trigger on level or on edge ? thanks -- Francis - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

