summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esas2r/esas2r_targdb.c
diff options
context:
space:
mode:
authorBradley Grove <bgrove@attotech.com>2013-10-01 14:26:02 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-10-25 09:58:59 +0100
commit8e65e2f07c1fdbd952570591bf78316aeed1c74a (patch)
tree4e9fa1c055dc6c513893502b304c46ea31158156 /drivers/scsi/esas2r/esas2r_targdb.c
parent9588d24e36003b53f76e43b4fadfc5b35207be04 (diff)
downloadblackbird-op-linux-8e65e2f07c1fdbd952570591bf78316aeed1c74a.tar.gz
blackbird-op-linux-8e65e2f07c1fdbd952570591bf78316aeed1c74a.zip
[SCSI] esas2r: Fixes for big-endian platforms
In esas2r_format_init_msg(), sgl_page_size and epoch_time params are converted to little endian and the firmware version read from the hba is converted to cpu endianess. In esas2r_rq_init_request, correct and simplify the construction of the SCSI handle. These fixes are the result of testing on a PPC64 machine. Signed-off-by: Bradley Grove <bgrove@attotech.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/esas2r/esas2r_targdb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud