• V
    libata: Add atapi_dmadir force flag · 966fbe19
    Vincent Pelletier 提交于
    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: NVincent Pelletier <plr.vincent@gmail.com>
    Signed-off-by: NTejun Heo <tj@kernel.org>
    966fbe19
libata-core.c 176.7 KB