diff options
author | Tejun Heo <htejun@gmail.com> | 2007-08-06 05:36:23 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:31 -0400 |
commit | cc0680a580b5be81a1ca321b58f8e9b80b5c1052 (patch) | |
tree | 57454cdfdc9890f4e8d9f532e9cd240c7361951f /drivers/ata/sata_nv.c | |
parent | 955e57dfde4ff75e4d7329ac7a3d645b16015309 (diff) |
libata-link: linkify reset
Make reset methods and related functions deal with ata_link instead of
ata_port.
* ata_do_reset()
* ata_eh_reset()
* all prereset/reset/postreset methods and related functions
This patch introduces no behavior change.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_nv.c')
-rw-r--r-- | drivers/ata/sata_nv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index df4d50dcffbc..67ba0f75f1e9 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -1459,7 +1459,7 @@ static void nv_ck804_thaw(struct ata_port *ap) | |||
1459 | writeb(mask, mmio_base + NV_INT_ENABLE_CK804); | 1459 | writeb(mask, mmio_base + NV_INT_ENABLE_CK804); |
1460 | } | 1460 | } |
1461 | 1461 | ||
1462 | static int nv_hardreset(struct ata_port *ap, unsigned int *class, | 1462 | static int nv_hardreset(struct ata_link *link, unsigned int *class, |
1463 | unsigned long deadline) | 1463 | unsigned long deadline) |
1464 | { | 1464 | { |
1465 | unsigned int dummy; | 1465 | unsigned int dummy; |
@@ -1468,7 +1468,7 @@ static int nv_hardreset(struct ata_port *ap, unsigned int *class, | |||
1468 | * some controllers. Don't classify on hardreset. For more | 1468 | * some controllers. Don't classify on hardreset. For more |
1469 | * info, see http://bugme.osdl.org/show_bug.cgi?id=3352 | 1469 | * info, see http://bugme.osdl.org/show_bug.cgi?id=3352 |
1470 | */ | 1470 | */ |
1471 | return sata_std_hardreset(ap, &dummy, deadline); | 1471 | return sata_std_hardreset(link, &dummy, deadline); |
1472 | } | 1472 | } |
1473 | 1473 | ||
1474 | static void nv_error_handler(struct ata_port *ap) | 1474 | static void nv_error_handler(struct ata_port *ap) |