/*
* 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
*/
/*
*/
#ifndef _PLUGIN_SUN_IMPL_H
#define _PLUGIN_SUN_IMPL_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/sysmacros.h>
#include <sys/ccompile.h>
#include <stdarg.h>
#include <libnvpair.h>
#include <scsi/libses_plugin.h>
#pragma pack(1)
/*
* SPMS-1 r111, section 4.2.4 - Configuration
* SPMS-1 r111, section 4.1.3.1, Table 8 - Sun Feature Definition
*/
typedef struct sun_feature_block_impl {
sfbi_int :1);
/*
* SPMS-1 SUNW,FRUID FRU descriptor (Table 23, 4.2.18)
*/
typedef struct sun_fru_descr_impl {
sfdi_fru :1,
_reserved1 :7);
/*
* SPMS-1 SUNW,FRUID diagnostic page (Table 22, 4.2.18)
*/
typedef struct sun_fruid_page_impl {
#pragma pack()
extern ses_pagedesc_t sun_pages[];
#ifdef __cplusplus
}
#endif
#endif /* _PLUGIN_SUN_IMPL_H */