I have a Linux driver where there are many interrupts to be handled by a single tasklet function.
I want to register the same tasklet for all of them but change its behavior according to which irq it was received on. Can I do this?
Is there an alternative solution that you know of?
Please do not suggest to declare the parameter during DECLARE_TASKLET()
I already know this does not work as the value is static and not passed by the irq handler.