master/ethernet.h
changeset 2045 ff2a13a4603c
parent 2028 55854f070c4a
child 2253 5be97f6cc76a
equal deleted inserted replaced
2044:1ae0491b2f6b 2045:ff2a13a4603c
    71 struct ec_eoe
    71 struct ec_eoe
    72 {
    72 {
    73     struct list_head list; /**< list item */
    73     struct list_head list; /**< list item */
    74     ec_slave_t *slave; /**< pointer to the corresponding slave */
    74     ec_slave_t *slave; /**< pointer to the corresponding slave */
    75     ec_datagram_t datagram; /**< datagram */
    75     ec_datagram_t datagram; /**< datagram */
       
    76     ec_mailbox_t mbox; /**< mailbox */
    76     unsigned int queue_datagram; /**< the datagram is ready for queuing */
    77     unsigned int queue_datagram; /**< the datagram is ready for queuing */
    77     void (*state)(ec_eoe_t *); /**< state function for the state machine */
    78     void (*state)(ec_eoe_t *); /**< state function for the state machine */
    78     struct net_device *dev; /**< net_device for virtual ethernet device */
    79     struct net_device *dev; /**< net_device for virtual ethernet device */
    79     struct net_device_stats stats; /**< device statistics */
    80     struct net_device_stats stats; /**< device statistics */
    80     unsigned int opened; /**< net_device is opened */
    81     unsigned int opened; /**< net_device is opened */