diff options
author | Vincent Pelletier <plr.vincent@gmail.com> | 2013-05-21 22:30:58 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-05-22 01:34:34 +0200 |
commit | 966fbe193f47c68e70a80ec9991098e88e7959cb (patch) | |
tree | 1a352f4f241a75b99148ef645c9f56afba863dc9 /drivers/ata/ahci.c | |
parent | libata: export ata_port port_no attribute via /sys (diff) | |
download | linux-966fbe193f47c68e70a80ec9991098e88e7959cb.tar.xz linux-966fbe193f47c68e70a80ec9991098e88e7959cb.zip |
libata: Add atapi_dmadir force flag
Some device require DMADIR to be enabled, but are not detected as such
by atapi_id_dmadir. One such example is "Asus Serillel 2"
SATA-host-to-PATA-device bridge: the bridge itself requires DMADIR,
even if the bridged device does not.
As atapi_dmadir module parameter can cause problems with some devices
(as per Tejun Heo's memory), enabling it globally may not be possible
depending on the hardware.
This patch adds atapi_dmadir in the form of a "force" horkage value,
allowing global, per-bus and per-device control.
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions