That's the first place I looked. I am using Linux version 2.4.26-ts11
(gcc version 3.3.4). The funcition doesn't exist for
the gcc-3.4.4-glibc-2.3.2 crosstool, but it does with the more finicky
gcc-3.3.4-glibc-2.3.2 crosstool. Unfortunatly I get an "insmod: unresolved
symbol set_irq_type" error when I try to use it. Any more thoughts? I'm
cheating right now by using a hex inverter, I'd like to get rid of that.
Regards,
Justin
--- In "charliem_1216" <> wrote:
>
> --- In "ticrus00" <ticrus00@> wrote:
> >
> > So, IRQ_TYPE_EDGE_RISING isn't defined. Any ideas?
>
> include/linux/irq.h ??
>
> Also see include/linux/interrupt.h, for IRQF_TRIGGER_RISING. I'm not sure
> when one is used vs. the other.
>
> regards, ......... Charlie
>
> >
> > Code:
> > set_irq_type(33, IRQ_TYPE_EDGE_RISING);
> >
> > error: `IRQ_TYPE_EDGE_RISING' undeclared (first use in this function)
> >
> >
>
------------------------------------
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/
|