commit | 2446a79f4f0a5e88e5d8316dac407d66ac10f70d | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sun Feb 04 20:54:57 2007 +0100 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Mon Apr 30 00:00:27 2007 +0200 |
tree | 9adb9c7816ef80c39b33d141efefc35803f17717 | |
parent | 0555659d63c285ceb7ead3115532e1b71b0f27a7 [diff] |
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 <stefanr@s5r6.in-berlin.de>