On May 31, 2007, at 12:29 AM, Kevin Cozens wrote:
> Thanks for the pointer to the eeapnode kernel module. It saved me a
> lot of work. I just needed some minor changes to the init/de-init
> routines and a change to the IRQ number. I have only done one test
> but I received 81 interrupts while pulsing pin 8 of the DIO1 header
> on a TS-7250.
>
> I noticed one thing in the eeapnode source file which you seem to
> have missed. The interrupt handler in the file is not clearing the
> IRQ. A requirement of the code in an interrupt handlers is to clear
> the source of the interrupt request. If you don't do that, you will
> get one interrupt but none after that.
You're right. Sorry about that, the pointer to that CVS revision is
slightly outdated. We've since added routines to clear the interrupt.
Here's a link to the file in CVS:
http://cs.earlham.edu/~eeap/cvsweb/cvsweb.cgi/eeapnode/module/eeapnode.c
Glad to see the code was useful,
colin
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|