scsi: aha1542: convert to DMA mapping API
authorChristoph Hellwig <hch@lst.de>
Sat, 10 Nov 2018 08:28:22 +0000 (09:28 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 22 Nov 2018 03:21:42 +0000 (22:21 -0500)
commit1794ef2b150dd502bc31cb50ad36c901337b4d0e
tree358e27bd0b99e760167f62f5c17169e93c662edb
parent469f72ddc618d0afe05176b18ae6ebefb1fc6fe2
scsi: aha1542: convert to DMA mapping API

aha1542 is one of the last users of the legacy isa_*_to_bus APIs, which
also isn't portable enough.  Convert it to the proper DMA mapping API.

Thanks to Ondrej Zary for testing and finding and fixing a crucial bug.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aha1542.c