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

No differences found