OSDN Git Service

ide: remove the PCI_DMA_BUS_IS_PHYS check
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Apr 2018 18:29:44 +0000 (20:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 7 May 2018 05:15:41 +0000 (07:15 +0200)
commit164c3d091292130c82306c97718b2d90534b8897
tree758ab89677287b4f7b715ab8c32b0b3fea4fed9b
parent1d3b9917df9725382f4e0005ecaddee114ebc847
ide: remove the PCI_DMA_BUS_IS_PHYS check

We now have ways to deal with drainage in the block layer, and libata has
been using it for ages.  We also want to get rid of PCI_DMA_BUS_IS_PHYS
now, so just reduce the PCI transfer size for ide - anyone who cares for
performance on PCI controllers should have switched to libata long ago.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
drivers/ide/ide-probe.c