diff -r 7bc131b92039 -r 07fd94c5119d master/ethernet.h --- a/master/ethernet.h Fri Aug 10 15:27:08 2007 +0000 +++ b/master/ethernet.h Thu Sep 13 11:08:46 2007 +0000 @@ -74,6 +74,7 @@ struct list_head list; /**< list item */ ec_slave_t *slave; /**< pointer to the corresponding slave */ ec_datagram_t datagram; /**< datagram */ + unsigned int queue_datagram; /**< the datagram is ready for queuing */ void (*state)(ec_eoe_t *); /**< state function for the state machine */ struct net_device *dev; /**< net_device for virtual ethernet device */ struct net_device_stats stats; /**< device statistics */ @@ -102,6 +103,7 @@ int ec_eoe_init(ec_eoe_t *, ec_slave_t *); void ec_eoe_clear(ec_eoe_t *); void ec_eoe_run(ec_eoe_t *); +void ec_eoe_queue(ec_eoe_t *); int ec_eoe_is_open(const ec_eoe_t *); /*****************************************************************************/