Martin K. Petersen 3c6bdaeab4 [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>
2012-11-13 21:11:31 -08:00
..
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-11-13 21:11:31 -08:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-26 14:13:19 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00