]> git.itanic.dy.fi Git - linux-stable/commit
ata: ftide010: Add a quirk for SQ201
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 15 Jul 2018 20:09:29 +0000 (22:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Oct 2018 23:59:26 +0000 (16:59 -0700)
commit22670e847f7ca72a4e871d00eaa7c720ff94ef6f
tree28be40d7023c70f9ff43af7247653fd611fb5b27
parent65c96da9c684946d0874bf911fdb50a3b497cb30
ata: ftide010: Add a quirk for SQ201

[ Upstream commit 46cb52ad414ac829680d0bb8cc7090ac2b577ca7 ]

The DMA is broken on this specific device for some unknown
reason (probably badly designed or plain broken interface
electronics) and will only work with PIO. Other users of
the same hardware does not have this problem.

Add a specific quirk so that this Gemini device gets
DMA turned off. Also fix up some code around passing the
port information around in probe while we're at it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/pata_ftide010.c