diff options
author | Tejun Heo <htejun@gmail.com> | 2006-03-05 09:55:58 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-05 17:09:42 +0100 |
commit | 623a3128aa2b86caa8e06e762e9e444177e4fa47 (patch) | |
tree | 3e861e10c2963a22d2f097e5545fdcd865667602 /drivers/scsi/a2091.c | |
parent | [PATCH] libata: add @print_info argument to ata_dev_configure() (diff) | |
download | linux-623a3128aa2b86caa8e06e762e9e444177e4fa47.tar.xz linux-623a3128aa2b86caa8e06e762e9e444177e4fa47.zip |
[PATCH] libata: implement ata_dev_revalidate()
ata_dev_revalidate() re-reads IDENTIFY PAGE of the given device and
makes sure it's the same device as the configured one. Once it's
verified that it's the same device, @dev is configured according to
newly read IDENTIFY PAGE. Note that revalidation currently doesn't
invoke transfer mode reconfiguration.
Criteria for 'same device'
* same class (of course)
* same model string
* same serial string
* if ATA, same n_sectors (to catch geometry parameter changes)
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/a2091.c')
0 files changed, 0 insertions, 0 deletions