xref: /onnv-gate/usr/src/lib/fm/topo/modules/sun4/pcibus/pci_sun4.h (revision 3895:811da2ad2260)
1*3895Szx143588 /*
2*3895Szx143588  * CDDL HEADER START
3*3895Szx143588  *
4*3895Szx143588  * The contents of this file are subject to the terms of the
5*3895Szx143588  * Common Development and Distribution License (the "License").
6*3895Szx143588  * You may not use this file except in compliance with the License.
7*3895Szx143588  *
8*3895Szx143588  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3895Szx143588  * or http://www.opensolaris.org/os/licensing.
10*3895Szx143588  * See the License for the specific language governing permissions
11*3895Szx143588  * and limitations under the License.
12*3895Szx143588  *
13*3895Szx143588  * When distributing Covered Code, include this CDDL HEADER in each
14*3895Szx143588  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3895Szx143588  * If applicable, add the following below this CDDL HEADER, with the
16*3895Szx143588  * fields enclosed by brackets "[]" replaced with your own identifying
17*3895Szx143588  * information: Portions Copyright [yyyy] [name of copyright owner]
18*3895Szx143588  *
19*3895Szx143588  * CDDL HEADER END
20*3895Szx143588  */
21*3895Szx143588 
22*3895Szx143588 /*
23*3895Szx143588  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24*3895Szx143588  * Use is subject to license terms.
25*3895Szx143588  */
26*3895Szx143588 
27*3895Szx143588 #ifndef _HB_SUN4_H
28*3895Szx143588 #define	_HB_SUN4_H
29*3895Szx143588 
30*3895Szx143588 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31*3895Szx143588 
32*3895Szx143588 #include <fm/topo_mod.h>
33*3895Szx143588 #include <libnvpair.h>
34*3895Szx143588 
35*3895Szx143588 #ifdef __cplusplus
36*3895Szx143588 extern "C" {
37*3895Szx143588 #endif
38*3895Szx143588 
39*3895Szx143588 extern int
40*3895Szx143588 pci_fru_compute(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out);
41*3895Szx143588 
42*3895Szx143588 #ifdef __cplusplus
43*3895Szx143588 }
44*3895Szx143588 #endif
45*3895Szx143588 
46*3895Szx143588 #endif	/* _HB_SUN4_H */
47