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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 84787cad860d..3451ef97a931 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -616,6 +616,8 @@ struct ata_port_operations {
616 616
617 void (*post_set_mode) (struct ata_port *ap); 617 void (*post_set_mode) (struct ata_port *ap);
618 618
619 int (*cable_detect) (struct ata_port *ap);
620
619 int (*check_atapi_dma) (struct ata_queued_cmd *qc); 621 int (*check_atapi_dma) (struct ata_queued_cmd *qc);
620 622
621 void (*bmdma_setup) (struct ata_queued_cmd *qc); 623 void (*bmdma_setup) (struct ata_queued_cmd *qc);
@@ -834,6 +836,11 @@ extern u8 ata_dummy_irq_on(struct ata_port *ap);
834extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq); 836extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq);
835extern u8 ata_dummy_irq_ack(struct ata_port *ap, unsigned int chk_drq); 837extern u8 ata_dummy_irq_ack(struct ata_port *ap, unsigned int chk_drq);
836 838
839extern int ata_cable_40wire(struct ata_port *ap);
840extern int ata_cable_80wire(struct ata_port *ap);
841extern int ata_cable_sata(struct ata_port *ap);
842extern int ata_cable_unknown(struct ata_port *ap);
843
837/* 844/*
838 * Timing helpers 845 * Timing helpers
839 */ 846 */