void ndmta_mover_start_active (struct ndm_session *sess) { struct ndm_tape_agent * ta = sess->tape_acb; ndmalogf (sess, 0, 6, "mover going active"); ndma_send_logmsg(sess, NDMP9_LOG_DEBUG, sess->plumb.control, "mover going active"); switch (ta->mover_state.mode) { case NDMP9_MOVER_MODE_READ: ndmis_tape_start (sess, NDMCHAN_MODE_READ); ndmta_mover_active (sess); break; case NDMP9_MOVER_MODE_WRITE: ndmis_tape_start (sess, NDMCHAN_MODE_WRITE); ndmta_mover_active (sess); break; default: ndmalogf (sess, 0, 0, "BOTCH mover listen, unknown mode"); break; } }
void ndmta_mover_continue (struct ndm_session *sess) { ndmta_mover_active (sess); }