Messages in this thread | | | Subject | Re: Interrupts not being raised. | Date | Fri, 12 Feb 1999 14:16:25 +0000 | From | David Woodhouse <> |
| |
mingo@chiara.csoma.elte.hu said: > the question is, does after this 'first interrupt' your card work OK, > (without using the asm)? If yes then somehow we managed to miss the > first IRQ. If not then the card does not really produce interrupts.
No, it doesn't. The kernel still only reports two interrupts on that line, because I've loaded the driver twice. The user-space programs which load the firmware into the card are just sitting there doing nothing.
> the asm just simulates an interrupt received externally. (the > simulation is not perfect but adequate for most purposes)
I've now read setup.S, and can see where the PICs are reprogrammed to map IRQ0-15 onto int 0x20-0x2f. So how does the PIC generate the correct INT? Surely the CPU doesn't have that many external pins?
---- ---- ---- David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302 Project Leader, Process Information Systems Mobile: (+44) 976 658355 Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK. finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |