TCF_SYNC_DONE
if ((active_tc->flags & (TCF_SYNC_DONE | TCF_NO_SYNC_NEGO)) == 0) { /* do sync negotiation */
} else if ((active_tc->flags & (TCF_SYNC_DONE | TCF_NO_SYNC_NEGO)) == 0) {
active_tc->flags |= TCF_SYNC_DONE;
if (active_tc->flags & (TCF_SYNC_DONE | TCF_NO_SYNC_NEGO)) {
active_tc->flags |= TCF_SYNC_DONE;
host->targets[i].flags &= ~(TCF_SYNC_DONE | TCF_WDTR_DONE);
host->targets[i].flags &= ~(TCF_SYNC_DONE | TCF_WDTR_DONE);
if ((active_tc->flags & (TCF_SYNC_DONE | TCF_NO_SYNC_NEGO)) == 0) /* do sync nego */
(host->active_tc->flags & TCF_SYNC_DONE)) {
if ((host->active_tc->flags & (TCF_SYNC_DONE | TCF_NO_SYNC_NEGO)) == 0)
host->active_tc->flags &= ~TCF_SYNC_DONE;
host->active_tc->flags |= TCF_SYNC_DONE;
active_tc->flags &= ~(TCF_SYNC_DONE | TCF_WDTR_DONE);
active_tc->flags &= ~(TCF_SYNC_DONE | TCF_WDTR_DONE | TCF_BUSY);
host->targets[i].flags = *flags & ~(TCF_SYNC_DONE | TCF_WDTR_DONE);