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,6 +4641,9 @@ 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);
if (cp->host_flags & HF_SENSE)
OUTL_DSP (SCRIPTA_BA (np, clrack));
else
sym_modify_dp(np, tp, cp, -1);
return;
case M_REJECT:
......
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