/* Note this must be done before the first sequence of the exchange is sent.  */
static void fc_exch_set_addr(struct fc_exch *ep, u32 orig_id, u32 resp_id)
/* Note this must be done before the first sequence of the exchange is sent.  */
static void fc_exch_set_addr(struct fc_exch *ep, u32 orig_id, u32 resp_id)
{
	ep->oid = orig_id;
	if (ep->esb_stat & ESB_ST_RESP) {
		ep->sid = resp_id;
		ep->did = orig_id;
	} else {
		ep->sid = orig_id;
		ep->did = resp_id;
	}
}