[SCSI] bnx2i: Fixed the endian on TTT for NOP out transmission
authorEddie Wai <eddie.wai@broadcom.com>
Fri, 26 Aug 2011 18:16:47 +0000 (11:16 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 29 Aug 2011 02:42:06 +0000 (19:42 -0700)
The iscsi_nopout task's TTT is defined as __be32 while the DMA
memory to the chip is CPU specific.  This creates a problem for
unsolicited NOP-In responses where the TTT is not the RESERVED
tag of 0xFFs.  This patch adds a call to be32_to_cpu for the TTT
specified.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found