On 03/01/2012 10:22 PM, Martin K. Petersen wrote:
From: "Martin K. Petersen"<martin.petersen@xxxxxxxxxx>
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@xxxxxxxxxx>
Acked-by: Mike Snitzer<snitzer@xxxxxxxxxx>
Acked-by: Jeff Garzik <jgarzik@xxxxxxxxxx>
(though implementing RSOC in simulator for ATA is still desired, as that
placeholder will be used in the future)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html