aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-08-06 05:36:23 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:31 -0400
commit0260731f0187840e272bfa10d3ba0f3e417976f5 (patch)
treed39219275e89ce782f3151b5ac47726957a81e24 /include/linux
parentcc0680a580b5be81a1ca321b58f8e9b80b5c1052 (diff)
libata-link: linkify config/EH related functions
Make the following functions deal with ata_link instead of ata_port. * ata_set_mode() * ata_eh_autopsy() and related functions * ata_eh_report() and related functions * suspend/resume related functions * ata_eh_recover() and related functions Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 25444dafae50..0f86d9be78ab 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -607,7 +607,7 @@ struct ata_port_operations {
607 void (*dev_select)(struct ata_port *ap, unsigned int device); 607 void (*dev_select)(struct ata_port *ap, unsigned int device);
608 608
609 void (*phy_reset) (struct ata_port *ap); /* obsolete */ 609 void (*phy_reset) (struct ata_port *ap); /* obsolete */
610 int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); 610 int (*set_mode) (struct ata_link *link, struct ata_device **r_failed_dev);
611 611
612 int (*cable_detect) (struct ata_port *ap); 612 int (*cable_detect) (struct ata_port *ap);
613 613
@@ -838,7 +838,7 @@ extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
838extern int ata_scsi_change_queue_depth(struct scsi_device *sdev, 838extern int ata_scsi_change_queue_depth(struct scsi_device *sdev,
839 int queue_depth); 839 int queue_depth);
840extern struct ata_device *ata_dev_pair(struct ata_device *adev); 840extern struct ata_device *ata_dev_pair(struct ata_device *adev);
841extern int ata_do_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev); 841extern int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
842extern u8 ata_irq_on(struct ata_port *ap); 842extern u8 ata_irq_on(struct ata_port *ap);
843extern u8 ata_dummy_irq_on(struct ata_port *ap); 843extern u8 ata_dummy_irq_on(struct ata_port *ap);
844extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq); 844extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq);