Commit 45abc92b authored by Tony Battersby's avatar Tony Battersby Committed by James Bottomley

[PATCH] make sym53c8xx_2 not reject autosense IWR

This patch makes sym53c8xx_2 silently ignore the Ignore Wide Residue
message on autosense commands rather than rejecting it.  This makes
the SCSI communications cleaner for targets that return an odd number
of sense bytes.
parent 7de427c5
......@@ -4641,7 +4641,10 @@ static void sym_int_sir (hcb_p np)
case M_IGN_RESIDUE:
if (DEBUG_FLAGS & DEBUG_POINTER)
sym_print_msg(cp,"ign wide residue", np->msgin);
sym_modify_dp(np, tp, cp, -1);
if (cp->host_flags & HF_SENSE)
OUTL_DSP (SCRIPTA_BA (np, clrack));
else
sym_modify_dp(np, tp, cp, -1);
return;
case M_REJECT:
if (INB (HS_PRT) == HS_NEGOTIATE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment