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 /drivers/ata/sata_mv.c | |
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 'drivers/ata/sata_mv.c')
-rw-r--r-- | drivers/ata/sata_mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 08077efa9afd..4df8311968e9 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -2248,7 +2248,7 @@ comreset_retry: | |||
2248 | */ | 2248 | */ |
2249 | 2249 | ||
2250 | /* finally, read device signature from TF registers */ | 2250 | /* finally, read device signature from TF registers */ |
2251 | *class = ata_dev_try_classify(ap, 0, NULL); | 2251 | *class = ata_dev_try_classify(ap->link.device, 1, NULL); |
2252 | 2252 | ||
2253 | writelfl(0, port_mmio + EDMA_ERR_IRQ_CAUSE_OFS); | 2253 | writelfl(0, port_mmio + EDMA_ERR_IRQ_CAUSE_OFS); |
2254 | 2254 | ||