From: Maggie Zhang Date: Fri, 10 Dec 2010 03:10:27 +0000 (-0800) Subject: [SCSI] bfa: scatter gather processing change X-Git-Tag: v2.6.38-rc1~27^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e7d3eebb08735c8a14cd27f76dac784e9a9b75;p=pandora-kernel.git [SCSI] bfa: scatter gather processing change Modified scatter gather processing to use the kernel provided scsi_for_each_sg() macro. 1) Instead of allocating and setting up sgpg in bfa_ioim_sge_setup(), we only do allocation. As a result, we remove bfa_ioim_sgpg_setup() and rename bfa_ioim_sge_setup() to bfa_ioim_sgpg_alloc(). 2) bfa_ioim_send_ioreq() call scsi_for_each_sg() to handle both inline and sgpg setup. Signed-off-by: Maggie Zhang Signed-off-by: Jing Huang Signed-off-by: James Bottomley --- Reading git-diff-tree failed