/*
* 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 2008 NetXen, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _UNM_BRDINFO_H_
#define _UNM_BRDINFO_H_
#ifdef __cplusplus
extern "C" {
#endif
/* The version of the main data structure */
/* Magic number to let user know flash is programmed */
typedef enum {
/* Reference quad gig */
/* Dual CX4 - Low Profile - Red card */
typedef enum {
} nx_fw_type_t;
/* board type specific information */
typedef struct {
char *short_name;
{ \
int i, found = 0; \
for (i = 0; i < NUM_SUPPORTED_BOARDS; ++i) { \
found = 1; \
break; \
} \
} \
if (!found) \
name = "Unknown"; \
}
typedef struct {
/* unm_eth_addr_t mac_address[MAX_PORTS]; */
/* MN-related config */
/* SN-related config */
typedef struct {
/* flash user area */
typedef struct {
/* bootloader */
/* image */
/* primary image status */
/* MAC address , 4 ports */
/* Any user defined data */
typedef struct {
/* __uint8_t crbinit_md5[16]; */
/* __uint8_t brdcfg_md5[16]; */
/* bootloader */
/* __uint8_t bootld_md5[16]; */
/* image */
/* U8 image_md5[16]; */
/* primary image status */
/* MAC address , 4 ports, 32 address per port */
/* Any user defined data */
/* Flash memory map */
typedef enum {
/* LICENSE_TIME_START = 0x3C0000, license expiry time info */
/* User defined region for new boards */
#ifdef __cplusplus
}
#endif
#endif /* !_UNM_BRDINFO_H_ */