Did you check the Linux Lab Project? There should be a driver
for our 82527 based board, you might take code from there.
If you have problems, please e-mail me. Since we are on the
way to provide rtl drivers for our boards, we might help you
with a complete driver in the near future.
Best regards,
Thomas Wuensche
Juan A. Rosell Ortega wrote:
>
> Hi world !
>
> I´m using a CAN device ( INTEL 82527) under RT-Linux , the problem is
> that I cannot get the interrupt it should generate when a message has
> arrived. As far as I know the problem is the configuration of the device
> registers. Has someone done something like this ?
>
> This is the piece of code I use to try receiving via interrupt:
>
> void can_connect_controller(void){
>
> ....
> temp= inb_p(CAN_PORT2_CONF);
> outb(temp & 0xBF , CAN_PORT2_CONF);
> /* Enable Transmition/Reception interrupts */
>
> outb(0x02,CAN_CTRL_REG);
> ....
> }
>
> Thank you in advance,
>
> Juan A. Rosell Ortega
>
> --- [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/~rtlinux/
--
-------------------------------------------------------
EMS Dr. Thomas Wuensche
Phone: +49-8441-490260
Fax +49-8441-81860
Visit also our web-site at http://www.ems-wuensche.com/
-------------------------------------------------------
--- [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/~rtlinux/