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/

Reply via email to