diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-12 08:47:04 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-12 14:24:41 -0500 |
commit | 0e949ff304a7ca07db38c17fbbf3ead1085d7bbf (patch) | |
tree | ecc4834d27e221863dc5dbef3c13763dbdf4dd56 /drivers/scsi/libata-scsi.c | |
parent | 48f80e12abbc1e9034e54614c30e7c304209ce99 (diff) |
[PATCH] libata: implement ata_dev_id_c_string()
ata_dev_id_c_string() reads ATA string from the specified offset of
the given IDENTIFY PAGE and puts it in the specified buffer in trimmed
and NULL-terminated form. The caller must supply a buffer which is
one byte larger than the maximum size of the target ID string.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions