]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/main.h
The first phase of integration of Hynix HMS30c7202 C_CAN support
[lincan.git] / lincan / include / main.h
index 65d6b2a0d83422a36b53f8dce6494f8b478bb447..cc426b42cf7dec688dd6990c6ec850dfab44b96a 100644 (file)
@@ -209,6 +209,8 @@ struct chip_t {
  *     %MSGOBJ_TX_REQUEST .. the message object requests TX activation
  *     %MSGOBJ_TX_LOCK .. some IRQ routine or callback on some CPU 
  *             is running inside TX activation processing code
  *     %MSGOBJ_TX_REQUEST .. the message object requests TX activation
  *     %MSGOBJ_TX_LOCK .. some IRQ routine or callback on some CPU 
  *             is running inside TX activation processing code
+ * @rx_preconfig_id: place to store RX message identifier for some chip types
+ *              that reuse same object for TX
  */
 struct msgobj_t {
        unsigned long obj_base_addr;
  */
 struct msgobj_t {
        unsigned long obj_base_addr;
@@ -227,6 +229,8 @@ struct msgobj_t {
        struct canmsg_t rx_msg;
 
        struct chip_t *hostchip;
        struct canmsg_t rx_msg;
 
        struct chip_t *hostchip;
+       unsigned long rx_preconfig_id;
 
        atomic_t obj_used;
        struct list_head obj_users;
 
        atomic_t obj_used;
        struct list_head obj_users;