/*
* 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 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _TAVOR_IB_H
#define _TAVOR_IB_H
/*
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef struct fw_rev_s {
} fw_rev_t;
typedef struct mlx_is {
/* offset from 0x32 to get log2sectsz */
/*
* 3rd lot of reserved bytes CAN BE variable length,
* but defaults to 0x18 bytes
*/
} mlx_is_t;
typedef struct mlx_xps {
} mlx_xps_t;
typedef struct mlx_xfi {
} mlx_xfi_t;
/*
* Of all the structures we poke around with, we're packing
* these because we frequently have to operate on them as
* plain old byte arrays. If we don't pack it then the compiler
* will "properly" align it for us - which results in a
* structure that's a l l s p r e a d o u t.
*/
#pragma pack(1)
typedef struct mlx_guid_sect
{
#pragma pack()
/* this is 13x 32bit words */
/* we hook this struct into vpr->encap_ident */
typedef struct ib_encap_ident {
int fd;
int cmd_set;
int pn_len;
int hwfw_match;
/* Vendor Specific Data (VSD) */
/* VSD length in bytes */
/* PSID is the last 16B of VSD */
/* For use with Cisco's VSD */
/* For use with Cisco's VSD */
/*
* image memory for that particular sector.
*/
/*
* Vital System Data from PCI config space.
*/
/*
* Common Flash Interface data.
*/
typedef union cfi_u {
} cfi_t;
#ifdef __cplusplus
}
#endif
#endif /* _TAVOR_IB_H */