diff options
author | Tejun Heo <htejun@gmail.com> | 2008-02-13 09:15:09 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-20 12:12:28 -0500 |
commit | 332673257056d8be8a69d759eda90a799af5472d (patch) | |
tree | b2ff47054b6424f70a6c10bcffd47f2bdd70e4c8 /drivers/ata/libata.h | |
parent | 0fca0d6f2ce3336022a22bc7fc2e009e599e63a4 (diff) | |
download | blackbird-op-linux-332673257056d8be8a69d759eda90a799af5472d.tar.gz blackbird-op-linux-332673257056d8be8a69d759eda90a799af5472d.zip |
libata: implement libata.force module parameter
This patch implements libata.force module parameter which can
selectively override ATA port, link and device configurations
including cable type, SATA PHY SPD limit, transfer mode and NCQ.
For example, you can say "use 1.5Gbps for all fan-out ports attached
to the second port but allow 3.0Gbps for the PMP device itself, oh,
the device attached to the third fan-out port chokes on NCQ and
shouldn't go over UDMA4" by the following.
libata.force=2:1.5g,2.15:3.0g,2.03:noncq,udma4
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 409ffb9af163..6036dedfe377 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h @@ -61,6 +61,7 @@ extern int atapi_passthru16; extern int libata_fua; extern int libata_noacpi; extern int libata_allow_tpm; +extern void ata_force_cbl(struct ata_port *ap); extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev); extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, u64 block, u32 n_block, unsigned int tf_flags, |