summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorJeremy Higdon <jeremy@sgi.com>2004-03-09 02:17:17 -0500
committerJames Bottomley <jejb@raven.il.steeleye.com>2004-03-09 02:17:17 -0500
commitb2bda14c00a5c0049a71df878f4a1ab9269b1a51 (patch)
tree242b9ffc3d0b07413905dcb256089e6a9c61e5ee /include/linux/libata.h
parent24c104b9b0453ae4b5bc8b1088421363078b2820 (diff)
[libata] misc fixes, and an export
* export ata_host_intr * fix debugging printk * the write of Device Control register, which occurs between SATA phy reset and the read of device signature, apparently clobbers some of the register values (namely Error register) that are needed to determine whether or not the device passed diagnostics. Make this write follow the device diag checking and classification, instead.
Diffstat (limited to 'include/linux/libata.h')
-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 b3323517d457..52ff5c1198f2 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -411,6 +411,7 @@ extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmn
extern int ata_scsi_error(struct Scsi_Host *host);
extern int ata_scsi_release(struct Scsi_Host *host);
extern int ata_scsi_slave_config(struct scsi_device *sdev);
+extern inline unsigned int ata_host_intr (struct ata_port *ap, struct ata_queued_cmd *qc);
/*
* Default driver ops implementations
*/