isci: Remove SCIC_SWAP_DWORD()
authorDave Jiang <dave.jiang@intel.com>
Thu, 5 May 2011 01:28:32 +0000 (18:28 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:46 +0000 (04:04 -0700)
commit51a57cff7ca0549bcf87cbb36086269978f42568
tree94765f463a31ed977c35850dbefcc738dee3f71e
parentd7b90fc3436fa6d5b5251eec3128386af1a4d7b8
isci: Remove SCIC_SWAP_DWORD()

Use Linux native swab32() call instead of SCIC_SWAP_DWORD().

We need to swab() because the hardware munges the data into a
"big-endian dword" stream which is byte-swapped from the sas definition
regardless of host endian.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/sci_util.c
drivers/scsi/isci/core/sci_util.h
drivers/scsi/isci/core/scic_sds_phy.c
drivers/scsi/isci/core/scic_sds_request.c
drivers/scsi/isci/core/scic_sds_smp_request.c