]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ccfe819ca138f451acebe84f50379ac367c2834
tree0310974c32b562ccad9e8d83b33c9a687ee5c522
parent52ff1c2a42ef7655e8a9164f9c53c23bc37a4214
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