diff options
author | Tejun Heo <htejun@gmail.com> | 2007-09-02 10:23:57 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:39 -0400 |
commit | 3f19859ee95a38c066a0420eb8a30c76ecd67a42 (patch) | |
tree | 0ad611a48ddb18be3b8ec35e4dc318e2fd344961 /include/linux/libata.h | |
parent | 7a234aff3d83728fd83cf19df32d3df52566d2ac (diff) |
libata: update ata_dev_try_classify() arguments
Make ata_dev_try_classify() take a pointer to ata_device instead of
ata_port/port_number combination for consistency and add @present
argument. @present indicates whether the device seems present during
reset. It's the result of TF access during softreset and link
onlineness during hardreset. @present will be used to improve
diagnostic failure handling.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 49da62d0c83b..3ab2196c651a 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -781,7 +781,8 @@ extern void ata_port_queue_task(struct ata_port *ap, work_func_t fn, | |||
781 | extern u32 ata_wait_register(void __iomem *reg, u32 mask, u32 val, | 781 | extern u32 ata_wait_register(void __iomem *reg, u32 mask, u32 val, |
782 | unsigned long interval_msec, | 782 | unsigned long interval_msec, |
783 | unsigned long timeout_msec); | 783 | unsigned long timeout_msec); |
784 | extern unsigned int ata_dev_try_classify(struct ata_port *, unsigned int, u8 *); | 784 | extern unsigned int ata_dev_try_classify(struct ata_device *dev, int present, |
785 | u8 *r_err); | ||
785 | 786 | ||
786 | /* | 787 | /* |
787 | * Default driver ops implementations | 788 | * Default driver ops implementations |