control is not going to interrupt handler when interrupt comes in serial driver
presently i am writing serial driver in linux 2.6,i have enable interrupts,interrupt identification regester is being updated corructly,but interrupt handler is not being invocked.
First i thought that may be generic serial driver's interrupt handler is being invocked when ever an interrupt comes on
IRQ line 4,so i compiled the kernel and made serial driver as module
and i removed it from kernel. Even after also my serial driver's interrupt handler is not invocked.
Please help me to get rid of this problem,
As I said earlier... look in the source-code itself for examples. There must be a bug in your code somewhere, and how exactly are we supposed to help find it? We can't even see it from here.
It is necessarily true that, if you have properly put the right values into the device registers such that it does generate a hardware interrupt .. never assume .. at least the first-level interrupt handler will get called. But that's only the first of a few dozen places where your code could contain a subtle flaw.
Putting the thing as a module, at least for now, certainly should make it easier to debug... as long as your code properly handles removal.
|All times are GMT -5. The time now is 11:14 AM.|