aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-scsi.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-09-21 21:03:28 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:40 -0400
commitc78968bb0f7714ceba1cdfa23714454fc98cefdf (patch)
treecbf066559205ce0d00829c74a406f3a2140623e4 /drivers/ata/libata-scsi.c
parent24f756866676b40446e361c1f87738707161da93 (diff)
[libata] SCSI: simulator version, not device version, belongs in VPD
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r--drivers/ata/libata-scsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index d482b589a18a..468d791a303c 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -1831,8 +1831,9 @@ unsigned int ata_scsiop_inq_89(struct ata_scsi_args *args, u8 *rbuf,
1831 pbuf[2] = (0x238 >> 8); /* page size fixed at 238h */ 1831 pbuf[2] = (0x238 >> 8); /* page size fixed at 238h */
1832 pbuf[3] = (0x238 & 0xff); 1832 pbuf[3] = (0x238 & 0xff);
1833 1833
1834 memcpy(&pbuf[8], "ATA ", 8); 1834 memcpy(&pbuf[8], "linux ", 8);
1835 ata_id_string(args->id, &pbuf[16], ATA_ID_PROD, 16); 1835 memcpy(&pbuf[16], "libata ", 16);
1836 memcpy(&pbuf[32], DRV_VERSION, 4);
1836 ata_id_string(args->id, &pbuf[32], ATA_ID_FW_REV, 4); 1837 ata_id_string(args->id, &pbuf[32], ATA_ID_FW_REV, 4);
1837 1838
1838 /* we don't store the ATA device signature, so we fake it */ 1839 /* we don't store the ATA device signature, so we fake it */