diff options
author | Tom Yan <tom.ty89@gmail.com> | 2016-07-12 15:29:35 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-07-12 16:54:57 +0200 |
commit | 29a37ea40147eb8ef648cb89a7c595e483101ff4 (patch) | |
tree | b7480f8d83652be878e09379b9364eca11ccbe0d /drivers/ata/libata-scsi.c | |
parent | libata-scsi: set CmdQue bit in standard INQUIRY data to 1 (diff) | |
download | linux-29a37ea40147eb8ef648cb89a7c595e483101ff4.tar.xz linux-29a37ea40147eb8ef648cb89a7c595e483101ff4.zip |
libata-scsi: correct SPC version descriptor
The comment suggests we should be having an SPC-3 version descriptor
but the 0260h is the code for "SPC-2 (no version claimed)". Correct
it to 0300h so that it has the "SPC-3 (no version claimed)" descriptor.
Note that we are claiming SPC-3 version compatibility in the VERSION
field of the standard INQUIRY data. Therefore, I assume the typo was
on the code but not on the comment.
Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r-- | drivers/ata/libata-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index b0d4bbaccca8..f6888fca4b5f 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -2075,8 +2075,8 @@ static unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf) 0x03, 0x20, /* SBC-2 (no version claimed) */ - 0x02, - 0x60 /* SPC-3 (no version claimed) */ + 0x03, + 0x00 /* SPC-3 (no version claimed) */ }; const u8 versions_zbc[] = { 0x00, |