]> git.baikalelectronics.ru Git - kernel.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)
commit57fbd41407421e0933d8cda8279bc90e8e771815
treeb2ff47054b6424f70a6c10bcffd47f2bdd70e4c8
parente30d01b38de1eaa45fb3b81967fde36d8f489f8b
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