From: Vincent Pelletier Date: Tue, 21 May 2013 20:30:58 +0000 (+0200) Subject: libata: Add atapi_dmadir force flag X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~16^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=966fbe193f47c68e70a80ec9991098e88e7959cb;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed