if (tinfo != NULL) { if (role == ROLE_TARGET) *offset = MIN(*offset, tinfo->user.offset); else *offset = MIN(*offset, tinfo->goal.offset); } }
}
ahc_validate_offset(struct ahc_softc *ahc,		    struct ahc_initiator_tinfo *tinfo,		    struct ahc_syncrate *syncrate,		    u_int *offset, int wide, role_t role){	u_int maxoffset;	/* Limit offset to what we can do */	if (syncrate == NULL) {		maxoffset = 0;	} else if ((ahc->features & AHC_ULTRA2) != 0) {		maxoffset = MAX_OFFSET_ULTRA2;	} else {		if (wide)			maxoffset = MAX_OFFSET_16BIT;		else			maxoffset = MAX_OFFSET_8BIT;	}	*offset = MIN(*offset, maxoffset);	if (tinfo != NULL) {		if (role == ROLE_TARGET)			*offset = MIN(*offset, tinfo->user.offset);		else			*offset = MIN(*offset, tinfo->goal.offset);	}}