[SCSI] advansys: Use dma mapping for overrun buffer
commitd10fb2c7b5ce1b475df50cde9262d2c3fe3d296e
authorMatthew Wilcox <matthew@wil.cx>
Wed, 3 Oct 2007 01:55:41 +0000 (2 21:55 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:54:05 +0000 (12 14:54 -0400)
treefd037eb44ff9ac58cf8f207efc11cb6612d851cf
parentb249c7fda2ca8efcbe37ace1e20a3fffac08bccb
[SCSI] advansys: Use dma mapping for overrun buffer

Convert the call to virt_to_bus() into a call to dma_map_single().  Some
architectures may require different DMA addresses for different devices,
so allocate one overrun buffer per host rather than one for all cards.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c