aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlan <alan@lxorguk.ukuu.org.uk>2007-03-06 05:37:52 -0500
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:58 -0400
commit04351821b43e6c0c91ad50d7e4be54a935f749e1 (patch)
tree1cca629143ad5ac370129a6188f951077059b19b /include/linux
parentfcc2f69a6fad1543b466db9c35aa5a2f364eb3d4 (diff)
pata: expose set_mode method so it can be wrapped
This splits set_mode into do_set_mode and the wrapper so that a driver can call the standard method inside its own. This in theory also obsoletes ->post_set_mode(). Signed-off-by: Alan Cox <alan@redhat.com> Cc: Jeff Garzik <jeff@garzik.org> Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 3451ef97a931..c145d9df04d0 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -831,6 +831,7 @@ extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
831extern int ata_scsi_change_queue_depth(struct scsi_device *sdev, 831extern int ata_scsi_change_queue_depth(struct scsi_device *sdev,
832 int queue_depth); 832 int queue_depth);
833extern struct ata_device *ata_dev_pair(struct ata_device *adev); 833extern struct ata_device *ata_dev_pair(struct ata_device *adev);
834extern int ata_do_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev);
834extern u8 ata_irq_on(struct ata_port *ap); 835extern u8 ata_irq_on(struct ata_port *ap);
835extern u8 ata_dummy_irq_on(struct ata_port *ap); 836extern u8 ata_dummy_irq_on(struct ata_port *ap);
836extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq); 837extern u8 ata_irq_ack(struct ata_port *ap, unsigned int chk_drq);