emlxs_fw.h revision 291a2b48b9adcd7b3666c34e80ba6411929afe7f
/*
* 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 usr/src/OPENSOLARIS.LICENSE
* 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 2009 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
#define EMLXS_FW_MODULE "misc/emlxs/emlxs_fw"
/* 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 */
static emlxs_firmware_t emlxs_fw_table[] =
{
{
},
{
},
{
},
{
},
{
},
{
}
}; /* emlxs_fw_table[] */
#endif /* EMLXS_FW_TABLE_DEF */
#ifdef __cplusplus
}
#endif
#endif /* _EMLXS_FW_H */