]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit349c0e01b1cb92251103a6f5f0301474dd25ed3d
tree148a2cd32ae40185bb547cb96cd17bcd920b8ab0
parentaf313e162081bf31796dc6a2e07bcbce8977d442
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