aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libata.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 62fa8cf677a1..e7882ba63e78 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -696,16 +696,16 @@ static inline int ata_port_is_dummy(struct ata_port *ap)
696 return ap->ops == &ata_dummy_port_ops; 696 return ap->ops == &ata_dummy_port_ops;
697} 697}
698 698
699extern void sata_print_link_status(struct ata_port *ap); 699extern void sata_print_link_status(struct ata_link *link);
700extern void ata_port_probe(struct ata_port *); 700extern void ata_port_probe(struct ata_port *);
701extern void __sata_phy_reset(struct ata_port *ap); 701extern void __sata_phy_reset(struct ata_port *ap);
702extern void sata_phy_reset(struct ata_port *ap); 702extern void sata_phy_reset(struct ata_port *ap);
703extern void ata_bus_reset(struct ata_port *ap); 703extern void ata_bus_reset(struct ata_port *ap);
704extern int sata_set_spd(struct ata_port *ap); 704extern int sata_set_spd(struct ata_link *link);
705extern int sata_phy_debounce(struct ata_port *ap, const unsigned long *param, 705extern int sata_link_debounce(struct ata_link *link,
706 unsigned long deadline); 706 const unsigned long *params, unsigned long deadline);
707extern int sata_phy_resume(struct ata_port *ap, const unsigned long *param, 707extern int sata_link_resume(struct ata_link *link, const unsigned long *params,
708 unsigned long deadline); 708 unsigned long deadline);
709extern int ata_std_prereset(struct ata_port *ap, unsigned long deadline); 709extern int ata_std_prereset(struct ata_port *ap, unsigned long deadline);
710extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes, 710extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes,
711 unsigned long deadline); 711 unsigned long deadline);
@@ -753,12 +753,12 @@ extern int ata_sas_slave_configure(struct scsi_device *, struct ata_port *);
753extern int ata_sas_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *), 753extern int ata_sas_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *),
754 struct ata_port *ap); 754 struct ata_port *ap);
755extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc); 755extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc);
756extern int sata_scr_valid(struct ata_port *ap); 756extern int sata_scr_valid(struct ata_link *link);
757extern int sata_scr_read(struct ata_port *ap, int reg, u32 *val); 757extern int sata_scr_read(struct ata_link *link, int reg, u32 *val);
758extern int sata_scr_write(struct ata_port *ap, int reg, u32 val); 758extern int sata_scr_write(struct ata_link *link, int reg, u32 val);
759extern int sata_scr_write_flush(struct ata_port *ap, int reg, u32 val); 759extern int sata_scr_write_flush(struct ata_link *link, int reg, u32 val);
760extern int ata_port_online(struct ata_port *ap); 760extern int ata_link_online(struct ata_link *link);
761extern int ata_port_offline(struct ata_port *ap); 761extern int ata_link_offline(struct ata_link *link);
762#ifdef CONFIG_PM 762#ifdef CONFIG_PM
763extern int ata_host_suspend(struct ata_host *host, pm_message_t mesg); 763extern int ata_host_suspend(struct ata_host *host, pm_message_t mesg);
764extern void ata_host_resume(struct ata_host *host); 764extern void ata_host_resume(struct ata_host *host);