From: Magnus D. <mag...@gm...> - 2007-08-13 02:49:57
|
Hi Markus! On 8/10/07, EXTERNAL Brunner Markus (Praktikant; ST-FIR/Eng) <ext...@de...> wrote: > Hi, > > I have fixed the error now. Great! Sorry for not responding earlier. > It was caused by the smc911x driver it requested the irq with > IRQF_TRIGGER_FALLING and overwrote my settings in the board setup. > After changing this to LOW it worked. I wonder if it would make sense to extend the interrupt api to provide a bitmap of all supported sense configurations supported by the driver... That way the driver would tell the interrupt controller which configurations it supports and it's up to the interrupt controller pick one of them. Then the driver reads back which configuration that was selected by the interrupt controller and sets up the hardware it controls accordingly. Or maybe that is too complicated, I'm not sure. But the current framework seems a bit too limited IMO, especially if the interrupt controller only supports a certain sense configuration. The best solution may be the other way around though, where the interrupt controller provides a bitmap of supported sense configurations that the driver may choose from... / magnus |