linux/drivers/message/fusion/lsi/mpi_lan.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 *  Copyright (c) 2000-2008 LSI Corporation.
 *
 *
 *           Name:  mpi_lan.h
 *          Title:  MPI LAN messages and structures
 *  Creation Date:  June 30, 2000
 *
 *    mpi_lan.h Version:  01.05.01
 *
 *  Version History
 *  ---------------
 *
 *  Date      Version   Description
 *  --------  --------  ------------------------------------------------------
 *  05-08-00  00.10.01  Original release for 0.10 spec dated 4/26/2000.
 *  05-24-00  00.10.02  Added LANStatus field to _MSG_LAN_SEND_REPLY.
 *                      Added LANStatus field to _MSG_LAN_RECEIVE_POST_REPLY.
 *                      Moved ListCount field in _MSG_LAN_RECEIVE_POST_REPLY.
 *  06-06-00  01.00.01  Update version number for 1.0 release.
 *  06-12-00  01.00.02  Added MPI_ to BUCKETSTATUS_ definitions.
 *  06-22-00  01.00.03  Major changes to match new LAN definition in 1.0 spec.
 *  06-30-00  01.00.04  Added Context Reply definitions per revised proposal.
 *                      Changed transaction context usage to bucket/buffer.
 *  07-05-00  01.00.05  Removed LAN_RECEIVE_POST_BUCKET_CONTEXT_MASK definition
 *                      to lan private header file
 *  11-02-00  01.01.01  Original release for post 1.0 work
 *  02-20-01  01.01.02  Started using MPI_POINTER.
 *  03-27-01  01.01.03  Added structure offset comments.
 *  08-08-01  01.02.01  Original release for v1.2 work.
 *  05-11-04  01.03.01  Original release for MPI v1.3.
 *  08-19-04  01.05.01  Original release for MPI v1.5.
 *  --------------------------------------------------------------------------
 */

#ifndef MPI_LAN_H
#define MPI_LAN_H


/******************************************************************************
*
*               L A N    M e s s a g e s
*
*******************************************************************************/

/* LANSend messages */

pLANSendRequest_t;


pLANSendReply_t;


/* LANReceivePost */

pLANReceivePostRequest_t;


pLANReceivePostReply_t;


/* LANReset */

pLANResetRequest_t;


pLANResetReply_t;


/****************************************************************************/
/* LAN Context Reply defines and macros                                     */
/****************************************************************************/

#define LAN_REPLY_PACKET_LENGTH_MASK
#define LAN_REPLY_PACKET_LENGTH_SHIFT
#define LAN_REPLY_BUCKET_CONTEXT_MASK
#define LAN_REPLY_BUCKET_CONTEXT_SHIFT
#define LAN_REPLY_BUFFER_CONTEXT_MASK
#define LAN_REPLY_BUFFER_CONTEXT_SHIFT
#define LAN_REPLY_FORM_MASK
#define LAN_REPLY_FORM_RECEIVE_SINGLE
#define LAN_REPLY_FORM_RECEIVE_MULTIPLE
#define LAN_REPLY_FORM_SEND_SINGLE
#define LAN_REPLY_FORM_MESSAGE_CONTEXT
#define LAN_REPLY_FORM_SHIFT

#define GET_LAN_PACKET_LENGTH(x)

#define SET_LAN_PACKET_LENGTH(x, lth)

#define GET_LAN_BUCKET_CONTEXT(x)

#define SET_LAN_BUCKET_CONTEXT(x, ctx)

#define GET_LAN_BUFFER_CONTEXT(x)

#define SET_LAN_BUFFER_CONTEXT(x, ctx)

#define GET_LAN_FORM(x)

#define SET_LAN_FORM(x, frm)


/****************************************************************************/
/* LAN Current Device State defines                                         */
/****************************************************************************/

#define MPI_LAN_DEVICE_STATE_RESET
#define MPI_LAN_DEVICE_STATE_OPERATIONAL


/****************************************************************************/
/* LAN Loopback defines                                                     */
/****************************************************************************/

#define MPI_LAN_TX_MODES_ENABLE_LOOPBACK_SUPPRESSION

#endif