[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTC interrupts.



At 13:53 08/07/02 +0200, Orjan Friberg wrote:
>Rafael Collantes wrote:
> >
> > Hi all;
> >
> >    We are having some trouble porting an example to the AXIS system. The
> > included code executes correctly on a PC, but gives an error on ETRAX.
>
>May I ask what kind of error you get?

Of course. The output of the program is:
---------------------------------------------------
[root@xxxxxxx.out

                         RTC Driver Test Example.

ioctl: Unknown error 515
-----------------------------------------------------
So the functions that returns an error is:

retval = ioctl(fd, RTC_UIE_ON, 0);

Thanks!