Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 164c3d09 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1d3b9917
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -796,7 +796,6 @@ static int ide_init_queue(ide_drive_t *drive)
	 * This will be fixed once we teach pci_map_sg() about our boundary
	 * requirements, hopefully soon. *FIXME*
	 */
	if (!PCI_DMA_BUS_IS_PHYS)
	max_sg_entries >>= 1;
#endif /* CONFIG_PCI */