libata: implement HDIO_GET_IDENTITY
authorTejun Heo <htejun@gmail.com>
Tue, 2 Jan 2007 11:20:07 +0000 (20:20 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:34 +0000 (17:39 -0500)
commit5924b74c1cde5ef0246cf0dfbe689b27ffbe815b
treec4f71c6c5b607d01ceef359275cb9868662dbd21
parent18d90deb07ed6fc1818b0f0b326ecc788cea514e
libata: implement HDIO_GET_IDENTITY

'hdparm -I' doesn't work with ATAPI devices and sg_sat is not widely
spread yet leaving no easy way to access ATAPI IDENTIFY data.
Implement HDIO_GET_IDENTITY such that at least 'hdparm -i' works.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c