diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 19 |
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 { | |||
333 | struct scsi_device; | 333 | struct scsi_device; |
334 | struct ata_port_operations; | 334 | struct ata_port_operations; |
335 | struct ata_port; | 335 | struct ata_port; |
336 | struct ata_link; | ||
336 | struct ata_queued_cmd; | 337 | struct ata_queued_cmd; |
337 | 338 | ||
338 | /* typedefs */ | 339 | /* typedefs */ |
339 | typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); | 340 | typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); |
340 | typedef int (*ata_prereset_fn_t)(struct ata_port *ap, unsigned long deadline); | 341 | typedef int (*ata_prereset_fn_t)(struct ata_link *link, unsigned long deadline); |
341 | typedef int (*ata_reset_fn_t)(struct ata_port *ap, unsigned int *classes, | 342 | typedef int (*ata_reset_fn_t)(struct ata_link *link, unsigned int *classes, |
342 | unsigned long deadline); | 343 | unsigned long deadline); |
343 | typedef void (*ata_postreset_fn_t)(struct ata_port *ap, unsigned int *classes); | 344 | typedef void (*ata_postreset_fn_t)(struct ata_link *link, unsigned int *classes); |
344 | 345 | ||
345 | struct ata_ioports { | 346 | struct 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); |
707 | extern int sata_link_resume(struct ata_link *link, const unsigned long *params, | 708 | extern int sata_link_resume(struct ata_link *link, const unsigned long *params, |
708 | unsigned long deadline); | 709 | unsigned long deadline); |
709 | extern int ata_std_prereset(struct ata_port *ap, unsigned long deadline); | 710 | extern int ata_std_prereset(struct ata_link *link, unsigned long deadline); |
710 | extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes, | 711 | extern int ata_std_softreset(struct ata_link *link, unsigned int *classes, |
711 | unsigned long deadline); | 712 | unsigned long deadline); |
712 | extern int sata_port_hardreset(struct ata_port *ap, const unsigned long *timing, | 713 | extern int sata_link_hardreset(struct ata_link *link, |
713 | unsigned long deadline); | 714 | const unsigned long *timing, unsigned long deadline); |
714 | extern int sata_std_hardreset(struct ata_port *ap, unsigned int *class, | 715 | extern int sata_std_hardreset(struct ata_link *link, unsigned int *class, |
715 | unsigned long deadline); | 716 | unsigned long deadline); |
716 | extern void ata_std_postreset(struct ata_port *ap, unsigned int *classes); | 717 | extern void ata_std_postreset(struct ata_link *link, unsigned int *classes); |
717 | extern void ata_port_disable(struct ata_port *); | 718 | extern void ata_port_disable(struct ata_port *); |
718 | extern void ata_std_ports(struct ata_ioports *ioaddr); | 719 | extern void ata_std_ports(struct ata_ioports *ioaddr); |
719 | #ifdef CONFIG_PCI | 720 | #ifdef CONFIG_PCI |