master/device.h
changeset 1040 d2527675cdd5
parent 883 4963e22a267a
child 1209 8be462afb7f4
child 1685 399ef727bf62
equal deleted inserted replaced
1039:2881a83d084f 1040:d2527675cdd5
    92     struct module *module; /**< pointer to the device's owning module */
    92     struct module *module; /**< pointer to the device's owning module */
    93     uint8_t open; /**< true, if the net_device has been opened */
    93     uint8_t open; /**< true, if the net_device has been opened */
    94     uint8_t link_state; /**< device link state */
    94     uint8_t link_state; /**< device link state */
    95     struct sk_buff *tx_skb[EC_TX_RING_SIZE]; /**< transmit skb ring */
    95     struct sk_buff *tx_skb[EC_TX_RING_SIZE]; /**< transmit skb ring */
    96     unsigned int tx_ring_index; /**< last ring entry used to transmit */
    96     unsigned int tx_ring_index; /**< last ring entry used to transmit */
       
    97 #ifdef EC_HAVE_CYCLES
    97     cycles_t cycles_poll; /**< cycles of last poll */
    98     cycles_t cycles_poll; /**< cycles of last poll */
       
    99 #endif
    98 #ifdef EC_DEBUG_RING
   100 #ifdef EC_DEBUG_RING
    99     struct timeval timeval_poll;
   101     struct timeval timeval_poll;
   100 #endif
   102 #endif
   101     unsigned long jiffies_poll; /**< jiffies of last poll */
   103     unsigned long jiffies_poll; /**< jiffies of last poll */
   102     unsigned int tx_count; /**< number of frames sent */
   104     unsigned int tx_count; /**< number of frames sent */