]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] esas2r: Fixes for big-endian platforms
authorBradley Grove <bgrove@attotech.com>
Tue, 1 Oct 2013 18:26:02 +0000 (14:26 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 08:58:59 +0000 (09:58 +0100)
commit8e65e2f07c1fdbd952570591bf78316aeed1c74a
tree4e9fa1c055dc6c513893502b304c46ea31158156
parent9588d24e36003b53f76e43b4fadfc5b35207be04
[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>
drivers/scsi/esas2r/esas2r.h
drivers/scsi/esas2r/esas2r_init.c