summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-02-12 09:28:19 -0700
committer <jejb@mulgrave.il.steeleye.com>2006-02-12 11:13:09 -0600
commite2230eac17486e2ee07091d54d898eb40bcd0fdd (patch)
treead0a561db979d344239dde2ce7632345cdb8f870 /drivers/scsi/scsi_lib.c
parent61c41823c50302ca6cd455c48a1395f944c61f8f (diff)
downloadblackbird-op-linux-e2230eac17486e2ee07091d54d898eb40bcd0fdd.tar.gz
blackbird-op-linux-e2230eac17486e2ee07091d54d898eb40bcd0fdd.zip
[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>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud