From: James Bottomley Date: Mon, 16 Jul 2007 18:41:04 +0000 (-0500) Subject: [SCSI] libsas, aic94xx: fix dma mapping cockups with ATA X-Git-Tag: v2.6.23-rc1~7^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f05df8b3b41bc258bdf520b72e8cf7c524048b7;p=pandora-kernel.git [SCSI] libsas, aic94xx: fix dma mapping cockups with ATA This one was noticed by Gilbert Wu of Adaptec: The libata core actually does the DMA mapping for you, so there has to be an exception in the device drivers that *don't* do dma mapping for ATA commands. However, since we've already done this, libsas must now dma map any ATA commands that it wishes to issue ... and yes, this is a horrible mess. Additionally, the test in aic94xx for ATA protocols isn't quite right. Signed-off-by: James Bottomley --- Reading git-diff-tree failed