On Mon, Jul 16, 2001 at 02:14:10AM -0700, Greg Ercolano wrote:
> Hi Victor,
>
> > On Sun, Jul 15, 2001 at 04:53:48AM -0700, Greg Ercolano wrote:
> > > /usr/rtlinux-3.0/examples/v1api/parallel/rtc_toggle.c
> > > /usr/rtlinux-3.0/examples/v1api/parallel/rtc_toggle_fifo.c
> > >
> > > We found their interrupts only went off once, then stopped.
> > >
> > > To make the examples work, just add the rtl_hard_enable_irq(8)
> > > call above the 'break' statement for 'case 0' in handler(), eg:
> >
> > did you set CONFIG_V1API ?
>
> ..hmm? That looks like a kernel config option.
When you configure RTLinux, you can choose V1 compatibility. If you look in
main/rtl_core.c
you will see that in this case, we define the V1 request irq to
pass via a compatibility handler that re-enables interrupts.
The bug is that those V1 examples should not have compiled without this
being set.
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/