master/device.h
changeset 493 b17c95eac6b2
parent 398 ff37601361a8
child 533 acdd1f9ef7ab
equal deleted inserted replaced
492:9c58efb2c72d 493:b17c95eac6b2
    68     ec_isr_t isr; /**< pointer to the device's interrupt service routine */
    68     ec_isr_t isr; /**< pointer to the device's interrupt service routine */
    69     cycles_t cycles_isr; /**< cycles of last ISR call */
    69     cycles_t cycles_isr; /**< cycles of last ISR call */
    70     unsigned long jiffies_isr; /**< jiffies of last ISR call */
    70     unsigned long jiffies_isr; /**< jiffies of last ISR call */
    71     struct module *module; /**< pointer to the device's owning module */
    71     struct module *module; /**< pointer to the device's owning module */
    72     uint8_t link_state; /**< device link state */
    72     uint8_t link_state; /**< device link state */
       
    73     unsigned int tx_count; /**< number of frames sent */
       
    74     unsigned int rx_count; /**< number of frames received */
    73 #ifdef EC_DBG_IF
    75 #ifdef EC_DBG_IF
    74     ec_debug_t dbg; /**< debug device */
    76     ec_debug_t dbg; /**< debug device */
    75 #endif
    77 #endif
    76 };
    78 };
    77 
    79