/*
* 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 _DID_PROPS_H
#define _DID_PROPS_H
#include <fm/topo_mod.h>
#include <libdevinfo.h>
#include <libnvpair.h>
#include <did.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* pci_props_set() processes an array of structures that translate
* from devinfo props to properties on topology nodes. The structure
* provides the name of a devinfo prop, the name of the property
* group, the name of the property and the stability of the property
* group that should be established on the topology node, as well as a
* function to do the work.
*/
typedef struct txprop {
/*
* translation function
* If NULL, the devinfo prop's value is copied to the
* topo property.
*/
const char *, const char *, const char *);
} txprop_t;
uchar_t **);
#ifdef __cplusplus
}
#endif
#endif /* _DID_PROPS_H */