/* We received a WDTR. Let everything be aware of the changes.  */
static void sym_setwide(struct sym_hcb *np, int target, u_char wide)
/* We received a WDTR. Let everything be aware of the changes.  */
static void sym_setwide(struct sym_hcb *np, int target, u_char wide)
{
	struct sym_tcb *tp = &np->target[target];
	struct scsi_target *starget = tp->starget;
	sym_settrans(np, target, 0, 0, 0, wide, 0, 0);
	if (wide)
		tp->tgoal.renego = NS_WIDE;
	else
		tp->tgoal.renego = 0;
	tp->tgoal.check_nego = 0;
	tp->tgoal.width = wide;
	spi_offset(starget) = 0;
	spi_period(starget) = 0;
	spi_width(starget) = wide;
	spi_iu(starget) = 0;
	spi_dt(starget) = 0;
	spi_qas(starget) = 0;
	if (sym_verbose >= 3)
		sym_announce_transfer_rate(tp);
}