]> err.no Git - linux-2.6/commit
libata: separate out ata_dev_reread_id()
authorTejun Heo <htejun@gmail.com>
Mon, 14 May 2007 18:28:15 +0000 (03:28 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 16 May 2007 05:18:30 +0000 (01:18 -0400)
commitfe30911b34098db58c21d0f936f6c3f17f32deb8
tree70cca4ffb94f5f34650c30c68d46173505ee890f
parentd1c68fa6ce7e56e300d8561bb3b6492c336df863
libata: separate out ata_dev_reread_id()

Separate out ata_dev_reread_id() from ata_dev_revalidate().
ata_dev_reread_id() reads IDENTIFY page and determines whether the
same device is still there.  ata_dev_revalidate() reconfigures after
reread completes.  This will be used by ACPI update.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata.h