From: Stefan Richter Date: Sun, 4 Feb 2007 19:54:57 +0000 (+0100) Subject: ieee1394: sbp2: optimize DMA direction of s/g tables X-Git-Tag: v2.6.22-rc1~1105^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2446a79f4f0a5e88e5d8316dac407d66ac10f70d;p=pandora-kernel.git ieee1394: sbp2: optimize DMA direction of s/g tables Unlike the name suggests, "cmd->scatter_gather_element" holds only the s/g table, not the actual s/g elements. Since the table is only read but never written by the device, DMA_BIDIRECTIONAL can be replaced by DMA_TO_DEVICE which may be cheaper on some architectures. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed