summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata.h
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2006-04-04 10:57:18 +0800
committerJeff Garzik <jeff@garzik.org>2006-04-04 08:44:24 -0400
commit95de719adc94392a95c3c4d0a2d6b8b1ea39d236 (patch)
treed8196f39ca64a2c727ff6eff94b28d10013c6564 /drivers/scsi/libata.h
parentc16226a1c75042bfdc50bd2921d5919f6267ba51 (diff)
downloadlinux-95de719adc94392a95c3c4d0a2d6b8b1ea39d236.tar.gz
linux-95de719adc94392a95c3c4d0a2d6b8b1ea39d236.tar.bz2
linux-95de719adc94392a95c3c4d0a2d6b8b1ea39d236.zip
[PATCH] libata: convert ATAPI_ENABLE_DMADIR to module parameter
Convert the ATAPI_ENABLE_DMADIR compile time option needed by some SATA-PATA bridge to runtime module parameter. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r--drivers/scsi/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h
index e3bd1ddb5387..652c08e3808e 100644
--- a/drivers/scsi/libata.h
+++ b/drivers/scsi/libata.h
@@ -41,6 +41,7 @@ struct ata_scsi_args {
/* libata-core.c */
extern int atapi_enabled;
+extern int atapi_dmadir;
extern int libata_fua;
extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap,
struct ata_device *dev);