Bump specifications support to SAM-6/SPC-5.
This commit is contained in:
parent
dd133c9fc1
commit
79ec298677
@ -10174,7 +10174,7 @@ ctl_inquiry_std(struct ctl_scsiio *ctsio)
|
||||
inq_ptr->device = (SID_QUAL_BAD_LU << 5) | T_NODEVICE;
|
||||
|
||||
/* RMB in byte 2 is 0 */
|
||||
inq_ptr->version = SCSI_REV_SPC4;
|
||||
inq_ptr->version = SCSI_REV_SPC5;
|
||||
|
||||
/*
|
||||
* According to SAM-3, even if a device only supports a single
|
||||
@ -10272,10 +10272,10 @@ ctl_inquiry_std(struct ctl_scsiio *ctsio)
|
||||
inq_ptr->spi3data = SID_SPI_CLOCK_DT_ST | SID_SPI_QAS |
|
||||
SID_SPI_IUS;
|
||||
|
||||
/* SAM-5 (no version claimed) */
|
||||
scsi_ulto2b(0x00A0, inq_ptr->version1);
|
||||
/* SPC-4 (no version claimed) */
|
||||
scsi_ulto2b(0x0460, inq_ptr->version2);
|
||||
/* SAM-6 (no version claimed) */
|
||||
scsi_ulto2b(0x00C0, inq_ptr->version1);
|
||||
/* SPC-5 (no version claimed) */
|
||||
scsi_ulto2b(0x05C0, inq_ptr->version2);
|
||||
if (port_type == CTL_PORT_FC) {
|
||||
/* FCP-2 ANSI INCITS.350:2003 */
|
||||
scsi_ulto2b(0x0917, inq_ptr->version3);
|
||||
|
@ -2156,6 +2156,7 @@ struct scsi_inquiry_data
|
||||
#define SCSI_REV_SPC2 4
|
||||
#define SCSI_REV_SPC3 5
|
||||
#define SCSI_REV_SPC4 6
|
||||
#define SCSI_REV_SPC5 7
|
||||
|
||||
#define SID_ECMA 0x38
|
||||
#define SID_ISO 0xC0
|
||||
|
Loading…
Reference in New Issue
Block a user