[SCSI] bfa: sg addr big endian fix
authorJing Huang <huangj@brocade.com>
Fri, 19 Mar 2010 18:07:36 +0000 (11:07 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:23 +0000 (09:24 -0500)
commit077424e2e2c97c830d903891dfcd1532068b85b7
treed3e37bbbcc8d5f0d45dc39b95db05b6ddcd1a5a9
parent42b426ecb453cf49c3d16cf1d7a5e5d8cab9869d
[SCSI] bfa: sg addr big endian fix

sg address in IO request is not set up correctly for big endian platform.
add new macros to properly swap the address.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfa_ioim.c
drivers/scsi/bfa/bfa_os_inc.h