]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] sym2: Mask off opcode from RBC
authorMatthew Wilcox <matthew@wil.cx>
Sun, 12 Feb 2006 16:28:19 +0000 (09:28 -0700)
committer <jejb@mulgrave.il.steeleye.com> <>
Sun, 12 Feb 2006 17:13:09 +0000 (11:13 -0600)
commit91d0b785d6ac9c24a0d872f7f5568aed2e1261ef
treead0a561db979d344239dde2ce7632345cdb8f870
parentd29c3b9c946d5f3cca72945024579708dfe11325
[SCSI] sym2: Mask off opcode from RBC

pm->sg.size is set from the Residual Byte Count register.  However,
the upper byte of the RBC is the opcode of the instruction that was
executing, so we need to mask it off.  This fixes some spurious rejects
of IGNORE WIDE RESIDUE messages.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_hipd.c