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>
Thu, 4 Oct 2018 00:00:59 +0000 (17:00 -0700)
commit516b72e36dedaac451a307f8e9a0ef82272d92fb
treed298fc708c822a6b1219ecd67c8d98d02b8f1883
parent46cb720a8a3ece894eff4e1b85b3925efb71afd2
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