]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: implement libata.force module parameter
authorTejun Heo <htejun@gmail.com>
Wed, 13 Feb 2008 00:15:09 +0000 (09:15 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 20 Feb 2008 17:12:28 +0000 (12:12 -0500)
commit332673257056d8be8a69d759eda90a799af5472d
treeb2ff47054b6424f70a6c10bcffd47f2bdd70e4c8
parent0fca0d6f2ce3336022a22bc7fc2e009e599e63a4
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>
Documentation/kernel-parameters.txt
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/libata.h