diff options
author | Tejun Heo <htejun@gmail.com> | 2007-05-14 20:28:15 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-16 07:18:30 +0200 |
commit | fe30911b34098db58c21d0f936f6c3f17f32deb8 (patch) | |
tree | 70cca4ffb94f5f34650c30c68d46173505ee890f /drivers/ata/libata.h | |
parent | pata_scc had been missed by ata_std_prereset() switch (diff) | |
download | linux-fe30911b34098db58c21d0f936f6c3f17f32deb8.tar.xz linux-fe30911b34098db58c21d0f936f6c3f17f32deb8.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/ata/libata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 8b71b73a199c..13cb0c9af68d 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h @@ -76,7 +76,8 @@ extern unsigned ata_exec_internal_sg(struct ata_device *dev, extern unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd); extern int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class, unsigned int flags, u16 *id); -extern int ata_dev_revalidate(struct ata_device *dev, unsigned int flags); +extern int ata_dev_reread_id(struct ata_device *dev, unsigned int readid_flags); +extern int ata_dev_revalidate(struct ata_device *dev, unsigned int readid_flags); extern int ata_dev_configure(struct ata_device *dev); extern int sata_down_spd_limit(struct ata_port *ap); extern int sata_set_spd_needed(struct ata_port *ap); |