Skip to content

Commit

Permalink
[libata] SCSI: really use SATL version in VPD
Browse files Browse the repository at this point in the history
As per c78968b by Jeff Garzik ([libata] SCSI: simulator version, not device
version, belongs in VPD) We need to provide the SATL driver version and not the
disk firmware version but the code overwrites the driver version with the disk
version.

Signed-off-by: Baruch Even <baruch@ev-en.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Baruch Even authored and Jeff Garzik committed Apr 11, 2013
1 parent b9d15db commit 3f1317a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,6 @@ static unsigned int ata_scsiop_inq_89(struct ata_scsi_args *args, u8 *rbuf)
memcpy(&rbuf[8], "linux ", 8);
memcpy(&rbuf[16], "libata ", 16);
memcpy(&rbuf[32], DRV_VERSION, 4);
ata_id_string(args->id, &rbuf[32], ATA_ID_FW_REV, 4);

/* we don't store the ATA device signature, so we fake it */

Expand Down

0 comments on commit 3f1317a

Please sign in to comment.