libata passthru: update cached device paramters
authorAlbert Lee <albertcc@tw.ibm.com>
Thu, 7 Jun 2007 08:01:17 +0000 (16:01 +0800)
committerJeff Garzik <jeff@garzik.org>
Sun, 10 Jun 2007 03:08:12 +0000 (23:08 -0400)
commit2c3d2a46f1ccf591850b20f4fdde12bcf2bf3dfd
tree148a2cd32ae40185bb547cb96cd17bcd920b8ab0
parentfa4453c4c94a61bbefe470b16ddbb6218481c6dc
libata passthru: update cached device paramters

INIT_DEV_PARAMS and SET_MULTI_MODE change the device parameters cached
by libata.  Re-read IDENTIFY DEVICE info and update the cached device
paramters when seeing these commands.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c
include/linux/ata.h