From: Tejun Heo Date: Sun, 12 Feb 2006 13:47:04 +0000 (+0900) Subject: [PATCH] libata: implement ata_dev_id_c_string() X-Git-Tag: v2.6.17-rc1~1182^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e949ff304a7ca07db38c17fbbf3ead1085d7bbf;p=pandora-kernel.git [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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed