OSDN Git Service

ata: ftide010: Add a quirk for SQ201
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 15 Jul 2018 20:09:29 +0000 (22:09 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Aug 2018 20:25:54 +0000 (14:25 -0600)
commit46cb52ad414ac829680d0bb8cc7090ac2b577ca7
treea98945569eadd0436c5792f0edb8a61cc6fb1fdf
parentb0a84beb2e35536839ea289182684528f379b860
ata: ftide010: Add a quirk for SQ201

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>
drivers/ata/pata_ftide010.c