diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index f9ed198e4fcd..3cfdb5f67621 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -945,6 +945,25 @@ extern unsigned long ata_pci_default_filter(struct ata_device *, unsigned long); | |||
945 | #endif /* CONFIG_PCI */ | 945 | #endif /* CONFIG_PCI */ |
946 | 946 | ||
947 | /* | 947 | /* |
948 | * PMP | ||
949 | */ | ||
950 | extern void sata_pmp_read_init_tf(struct ata_taskfile *tf, | ||
951 | struct ata_device *dev, int pmp, int reg); | ||
952 | extern u32 sata_pmp_read_val(const struct ata_taskfile *tf); | ||
953 | extern void sata_pmp_write_init_tf(struct ata_taskfile *tf, | ||
954 | struct ata_device *dev, | ||
955 | int pmp, int reg, u32 val); | ||
956 | extern int sata_pmp_std_prereset(struct ata_link *link, unsigned long deadline); | ||
957 | extern int sata_pmp_std_hardreset(struct ata_link *link, unsigned int *class, | ||
958 | unsigned long deadline); | ||
959 | extern void sata_pmp_std_postreset(struct ata_link *link, unsigned int *class); | ||
960 | extern void sata_pmp_do_eh(struct ata_port *ap, | ||
961 | ata_prereset_fn_t prereset, ata_reset_fn_t softreset, | ||
962 | ata_reset_fn_t hardreset, ata_postreset_fn_t postreset, | ||
963 | ata_prereset_fn_t pmp_prereset, ata_reset_fn_t pmp_softreset, | ||
964 | ata_reset_fn_t pmp_hardreset, ata_postreset_fn_t pmp_postreset); | ||
965 | |||
966 | /* | ||
948 | * EH | 967 | * EH |
949 | */ | 968 | */ |
950 | extern void ata_eng_timeout(struct ata_port *ap); | 969 | extern void ata_eng_timeout(struct ata_port *ap); |