commit | 422c9daa8b5bea09f3393b11a106afd68850b39b | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sun Sep 23 13:14:12 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Oct 12 14:55:40 2007 -0400 |
tree | 76a4d15d77a26c049ca80ae850473b83df47d332 | |
parent | e0a7175263db4a226558883a51a88a5d2bc5d9fe [diff] |
libata-pmp-prep: add @new_class to ata_dev_revalidate() Consider newly found class code while revalidating. PMP resetting always results in valid class code and issuing PMP commands to ATA/ATAPI device isn't very attractive. Add @new_class to ata_dev_revalidate() and check class code for revalidation. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>