ses.h revision ac88567a7a5bb7f01cf22cf366bc9d6203e24d7a
/*
* 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 _SES_H
#define _SES_H
#include <assert.h>
#include <fm/topo_mod.h>
#include <fm/topo_list.h>
#include <fm/topo_method.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ses_enum_target {
char *set_devpath;
int set_refcount;
#define TOPO_PGROUP_SES "ses"
#define TOPO_PROP_NODE_ID "node-id"
#define TOPO_PROP_TARGET_PATH "target-path"
#define TOPO_PROP_PATHS "paths"
#define TOPO_PROP_SAS_ADDR "sas-address"
#define TOPO_PROP_PHY_COUNT "phy-count"
#define TOPO_PROP_CHASSIS_TYPE "chassis-type"
#define TOPO_PROP_SAS_PHY_MASK "phy-mask"
#define TOPO_PROP_SAS_CONNECTOR_TYPE "sas-connector-type"
#ifndef NDEBUG
#else
#define verify(x) ((void)(x))
#endif
#ifdef __cplusplus
}
#endif
#endif /* _SES_H */