mtip32xx: Change HDIO_GET_IDENTITY to return stored data
authorAsai Thambi S P <asamymuthupa@micron.com>
Wed, 30 May 2012 01:41:47 +0000 (18:41 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 May 2012 06:36:55 +0000 (08:36 +0200)
commit971890f25834e1e81ccb97b9413d0c2852d49208
tree0310974c32b562ccad9e8d83b33c9a687ee5c522
parent2df7aa96e75c4447e8bae0fd03b8c386c36ece40
mtip32xx: Change HDIO_GET_IDENTITY to return stored data

For the ioctl command HDIO_GET_IDENTITY, return the stored copy of IDENTIFY
DATA instead of sending the command to the device - similar to libata.

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c