/* 57xx_iscsi_hsi.h: QLogic NetXtreme II iSCSI HSI.
*
* Copyright (c) 2006 - 2013 Broadcom Corporation
* Copyright (c) 2014, QLogic Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation.
*
* Written by: Anil Veerabhadrappa (anilgv@broadcom.com)
* Previously Maintained by: Eddie Wai (eddie.wai@broadcom.com)
* Maintained by: QLogic-Storage-Upstream@qlogic.com
*/
#ifndef __57XX_ISCSI_HSI_LINUX_LE__
#define __57XX_ISCSI_HSI_LINUX_LE__
/*
* iSCSI Async CQE
*/
struct bnx2i_async_msg {
#if defined(__BIG_ENDIAN)
u8 op_code;
u8 reserved1;
u16 reserved0;
#elif defined(__LITTLE_ENDIAN)
u16 reserved0;
u8 reserved1;
u8 op_code;
#endif
u32 reserved2;
u32 exp_cmd_sn;
u32 max_cmd_sn;
u32 reserved3[2];
#if defined(__BIG_ENDIAN)
u16 reserved5;
u8 err_code;
u8 reserved4;
#elif defined(__LITTLE_ENDIAN)
u8 reserved4;
u8