summaryrefslogtreecommitdiff
path: root/net/802
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2012-09-18 16:19:30 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2012-11-14 05:11:31 (GMT)
commit3c6bdaeab4fda6c9fdd5f3f5c610dea97bddf7d6 (patch)
tree85fad84ab7a257e1da2465711e6af8569934cf7c /net/802
parent49bd665c5407a453736d3232ee58f2906b42e83c (diff)
downloadlinux-fsl-qoriq-3c6bdaeab4fda6c9fdd5f3f5c610dea97bddf7d6.tar.xz
[SCSI] Add a report opcode helper
The REPORT SUPPORTED OPERATION CODES command can be used to query whether a given opcode is supported by a device. Add a helper function that allows us to look up commands. We only issue RSOC if the device reports compliance with SPC-3 or later. But to err on the side of caution we disable the command for ATA, FireWire and USB. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions