/*
* 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 _FRAMEWORK_LIBSES_H
#define _FRAMEWORK_LIBSES_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* These are properties attached to the root target node of the enclosure, and
* represent the SCSI inquiry data.
*/
/*
* This property provides a human-readable name for the element type. This is
* constant, and not derived from the enclosure data.
*/
/*
* The following properties can be added to any node. There is no provision in
* the specification for these properties, but they can be derived from vendor
* specific data for some enclosures.
*/
/*
* The chassis serial number is a pseudo property that doesn't exist in SES
* spec. A single physical chassis may present several logically different SES
* targets that are connected to the same or different elements. These targets
* can extract the chassis serial number in a vendor-specific way so that
* consumers know these SES targets refer to the same device. This defaults to
* to the logical-id, and is always present.
*/
/*
* This boolean property identifies a chassis as internal, where the connected
* elements are part of a single system chassis and not an external enclosure.
* This is used on platforms with a disk backplane that exports a SES target.
*/
/*
* This property identifies the subchassis id for those systems that
* support the concept of a subchassis.
*/
/*
* Maximum allowed firmware upload chunk size. Obtained in a vendor- or
* platform-specific manner but generic in nature.
*/
/*
* This property indicates if fault management on the enclosure is externally
* managed. If it is the host connecected to the enclosure diagnoses a fault
* and determines the element status.
* The host FMA may or may not manage the service LED of a component in such
* enclosure.
*/
/*
* This property indicates if service LED is managed by the enclosure.
* It is set for a component that the enclosure self manages the service LED
* when a fault is detected.
*/
/*
* This property indicates that the enclosure reads sensors and reports
* out of range reading to the host through an enclosure specific way.
* The host FMA can check this property and avoid duplicate error reporting
* on sensors for the entire enclosure.
*
* When the enclosure self-reports a subset of sensors so
* LIBSES_EN_PROP_SENSOR_SELF_REPORTED can not be set at the enclosure level
* another property like "libses-elem-sensor-self-reported" can be used for
* those SES eleements that the sensor reading is self-reported.
* Currently no such support is needed.
*/
#ifdef __cplusplus
}
#endif
#endif /* _FRAMEWORK_LIBSES_H */