emlxs_fw.h revision 8f23e9fa8abcb5857661066b954e63400d589b65
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2004-2011 Emulex. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _EMLXS_FW_H
#define _EMLXS_FW_H
#ifdef __cplusplus
extern "C" {
#endif
#if 0
#define EMLXS_FW_TABLE_DEF /* Causes the firmware table to be */
/* defined in local memory. */
#define EMLXS_FW_IMAGE_DEF /* Causes the firmware image to be */
/* defined in the firmware table. */
#endif /* 0 */
/* Unique id for each firmware image */
typedef enum emlxs_fwid
{
FW_NOT_PROVIDED = 0,
} emlxs_fwid_t;
/* Firmware image descriptor */
typedef struct emlxs_firmware
{
char label[64];
#ifdef EMLXS_FW_TABLE_DEF
#ifndef MODFW_SUPPORT
#define EMLXS_FW_IMAGE_DEF
#endif /* MODFW_SUPPORT */
/* Provide firmware information for each adapter */
#include <fw_lp10000.h>
#include <fw_lp11000.h>
#include <fw_lp11002.h>
#include <fw_lpe11000.h>
#include <fw_lpe11002.h>
#include <fw_lpe12000.h>
/* Build the firmware table */
#define EMLXS_FW_TABLE \
{\
{\
},\
{\
},\
{\
},\
{\
},\
{\
},\
{\
}\
}
#endif /* EMLXS_FW_TABLE_DEF */
#ifdef __cplusplus
}
#endif
#endif /* _EMLXS_FW_H */