aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index e7882ba63e78..25444dafae50 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -333,14 +333,15 @@ enum ata_completion_errors {
333struct scsi_device; 333struct scsi_device;
334struct ata_port_operations; 334struct ata_port_operations;
335struct ata_port; 335struct ata_port;
336struct ata_link;
336struct ata_queued_cmd; 337struct ata_queued_cmd;
337 338
338/* typedefs */ 339/* typedefs */
339typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); 340typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc);
340typedef int (*ata_prereset_fn_t)(struct ata_port *ap, unsigned long deadline); 341typedef int (*ata_prereset_fn_t)(struct ata_link *link, unsigned long deadline);
341typedef int (*ata_reset_fn_t)(struct ata_port *ap, unsigned int *classes, 342typedef int (*ata_reset_fn_t)(struct ata_link *link, unsigned int *classes,
342 unsigned long deadline); 343 unsigned long deadline);
343typedef void (*ata_postreset_fn_t)(struct ata_port *ap, unsigned int *classes); 344typedef void (*ata_postreset_fn_t)(struct ata_link *link, unsigned int *classes);
344 345
345struct ata_ioports { 346struct ata_ioports {
346 void __iomem *cmd_addr; 347 void __iomem *cmd_addr;
@@ -706,14 +707,14 @@ extern int sata_link_debounce(struct ata_link *link,
706 const unsigned long *params, unsigned long deadline); 707 const unsigned long *params, unsigned long deadline);
707extern int sata_link_resume(struct ata_link *link, const unsigned long *params, 708extern int sata_link_resume(struct ata_link *link, const unsigned long *params,
708 unsigned long deadline); 709 unsigned long deadline);
709extern int ata_std_prereset(struct ata_port *ap, unsigned long deadline); 710extern int ata_std_prereset(struct ata_link *link, unsigned long deadline);
710extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes, 711extern int ata_std_softreset(struct ata_link *link, unsigned int *classes,
711 unsigned long deadline); 712 unsigned long deadline);
712extern int sata_port_hardreset(struct ata_port *ap, const unsigned long *timing, 713extern int sata_link_hardreset(struct ata_link *link,
713 unsigned long deadline); 714 const unsigned long *timing, unsigned long deadline);
714extern int sata_std_hardreset(struct ata_port *ap, unsigned int *class, 715extern int sata_std_hardreset(struct ata_link *link, unsigned int *class,
715 unsigned long deadline); 716 unsigned long deadline);
716extern void ata_std_postreset(struct ata_port *ap, unsigned int *classes); 717extern void ata_std_postreset(struct ata_link *link, unsigned int *classes);
717extern void ata_port_disable(struct ata_port *); 718extern void ata_port_disable(struct ata_port *);
718extern void ata_std_ports(struct ata_ioports *ioaddr); 719extern void ata_std_ports(struct ata_ioports *ioaddr);
719#ifdef CONFIG_PCI 720#ifdef CONFIG_PCI