pata_cypress: add a module option to disable BM-DMA
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Jun 2021 13:46:53 +0000 (15:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Jun 2021 14:52:38 +0000 (08:52 -0600)
commitea8b16303f2b42d8ea15c7d762e546e4bc793b1f
tree75c6cf973c84ea3110c74473971914dfe1413ab5
parent827b3e84fd1d2c43b7c85786d366bc53b02cd8da
pata_cypress: add a module option to disable BM-DMA

Multiple users report that they need to disable DMA on this driver,
so provide an option to do so without affecting all of libata.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20210616134658.1471835-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_cypress.c