/* fi An instance of an interface statemachine. event The event, just happened. arg Generic pointer, casted from struct net_device * upon call.  */
static void dev_action_start(fsm_instance *fi, int event, void *arg)
/* fi An instance of an interface statemachine. event The event, just happened. arg Generic pointer, casted from struct net_device * upon call.  */
static void dev_action_start(fsm_instance *fi, int event, void *arg)
{
	struct net_device *dev = arg;
	struct ctcm_priv *priv = dev->ml_priv;
	int direction;
	CTCMY_DBF_DEV_NAME(SETUP, dev, "");
	fsm_deltimer(&priv->restart_timer);
	fsm_newstate(fi, DEV_STATE_STARTWAIT_RXTX);
	if (IS_MPC(priv))
		priv->mpcg->channels_terminating = 0;
	for (direction = READ; direction <= WRITE; direction++) {
		struct channel *ch = priv->channel[direction];
		fsm_event(ch->fsm, CTC_EVENT_START, ch);
	}
}