From: Tejun Heo Date: Sun, 5 Mar 2006 08:55:58 +0000 (+0900) Subject: [PATCH] libata: implement ata_dev_revalidate() X-Git-Tag: v2.6.17-rc1~1182^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=623a3128aa2b86caa8e06e762e9e444177e4fa47;p=pandora-kernel.git [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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed