Source
/* Slim offset for critical temperature event */
/*******************************************************************
* This file is part of the Emulex Linux Device Driver for *
* Fibre Channel Host Bus Adapters. *
* Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
* “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. *
* Copyright (C) 2004-2016 Emulex. All rights reserved. *
* EMULEX and SLI are trademarks of Emulex. *
* www.broadcom.com *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of version 2 of the GNU General *
* Public License as published by the Free Software Foundation. *
* This program is distributed in the hope that it will be useful. *
* ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND *
* WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, *
* FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
* DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
* TO BE LEGALLY INVALID. See the GNU General Public License for *
* more details, a copy of which can be found in the file COPYING *
* included with this package. *
*******************************************************************/
/* Default E_D_TOV (2000ms) */
/* Default AL_TIME (15ms) */
/* Default RA_TOV (10s) */
/* Default ARB_TOV (1900ms) */
/* Number of buffers to post to RING
0 */
/* maximum ELS transfer size */
/* ring 0 for FCP initiator commands */
/* ring 1 for other protocols */
/* ring 2 for ELS commands */
/* SLI-2 FCP command ring entries */
/* SLI-2 FCP response ring entries */
/* SLI-2 extra command ring entries */
/* SLI-2 extra response ring entries */
/* SLI-2 extra FCP cmd ring entries */
/* SLI-2 extra FCP rsp ring entries */
/* SLI-2 ELS command ring entries */
/* SLI-2 ELS response ring entries */
/* vendor ID used in SCSI netlink calls */
/* Common Transport structures and definitions */
union CtRevisionId {
/* Structure is in Big Endian format */
struct {
uint32_t Revision:8;
uint32_t InId:24;
} bits;
uint32_t word;
};
union CtCommandResponse {
/* Structure is in Big Endian format */
struct {
uint32_t CmdRsp:16;
uint32_t Size:16;
} bits;
uint32_t word;