[SCSI] initio: fix big endian problems for auto request sense
authorGrant Grundler <grundler@parisc-linux.org>
Sat, 5 Apr 2008 16:14:22 +0000 (10:14 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 11 Apr 2008 21:16:28 +0000 (17:16 -0400)
commit423eef6fbb989f316d268d0d96812165fbaed26c
treeadf223794164237c9ce3d28aa967e1495bbdbee5
parent9f448b5554b485012b8a80c1c889175b3cb84940
[SCSI] initio: fix big endian problems for auto request sense

Most of the cpu_to_le32() usage was wrong in one way or another.
Compiler warning on BE builds was just the tip of the iceberg.
This patch attempts to make this driver work on BE though I
don't have the HW to test it.

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/initio.c