[libata] SCSI: really use SATL version in VPD
authorBaruch Even <baruch@ev-en.org>
Fri, 5 Apr 2013 16:11:45 +0000 (19:11 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 11 Apr 2013 23:39:44 +0000 (19:39 -0400)
As per c78968bb 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>
drivers/ata/libata-scsi.c

index fe759cafc67ab95cc77be5d8d8747f55a557ec1e..dd310b27b24c3dddcf7c4c7e6d4b3b042ee4dc53 100644 (file)
@@ -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 */
 
This page took 0.02624 seconds and 5 git commands to generate.