diff options
-rw-r--r-- | drivers/ata/libata-core.c | 2 | ||||
-rw-r--r-- | drivers/ata/libata-scsi.c | 5 | ||||
-rw-r--r-- | drivers/ata/libata.h | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 2116f2794580..8d425064ce2c 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -59,8 +59,6 @@ | |||
59 | 59 | ||
60 | #include "libata.h" | 60 | #include "libata.h" |
61 | 61 | ||
62 | #define DRV_VERSION "2.21" /* must be exactly four chars */ | ||
63 | |||
64 | 62 | ||
65 | /* debounce timing parameters in msecs { interval, duration, timeout } */ | 63 | /* debounce timing parameters in msecs { interval, duration, timeout } */ |
66 | const unsigned long sata_deb_timing_normal[] = { 5, 100, 2000 }; | 64 | const unsigned long sata_deb_timing_normal[] = { 5, 100, 2000 }; |
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 */ |
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 11f64a43b38a..e45f6d5542d5 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #define __LIBATA_H__ | 29 | #define __LIBATA_H__ |
30 | 30 | ||
31 | #define DRV_NAME "libata" | 31 | #define DRV_NAME "libata" |
32 | #define DRV_VERSION "2.21" /* must be exactly four chars */ | ||
32 | 33 | ||
33 | struct ata_scsi_args { | 34 | struct ata_scsi_args { |
34 | struct ata_device *dev; | 35 | struct ata_device *dev; |