xref: /titanic_50/usr/src/uts/intel/sys/fm/smb/fmsmb.h (revision 074bb90d80fdbeb2d04a8450a55ecbc96de28785)
1*074bb90dSTom Pothier /*
2*074bb90dSTom Pothier  * CDDL HEADER START
3*074bb90dSTom Pothier  *
4*074bb90dSTom Pothier  * The contents of this file are subject to the terms of the
5*074bb90dSTom Pothier  * Common Development and Distribution License (the "License").
6*074bb90dSTom Pothier  * You may not use this file except in compliance with the License.
7*074bb90dSTom Pothier  *
8*074bb90dSTom Pothier  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*074bb90dSTom Pothier  * or http://www.opensolaris.org/os/licensing.
10*074bb90dSTom Pothier  * See the License for the specific language governing permissions
11*074bb90dSTom Pothier  * and limitations under the License.
12*074bb90dSTom Pothier  *
13*074bb90dSTom Pothier  * When distributing Covered Code, include this CDDL HEADER in each
14*074bb90dSTom Pothier  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*074bb90dSTom Pothier  * If applicable, add the following below this CDDL HEADER, with the
16*074bb90dSTom Pothier  * fields enclosed by brackets "[]" replaced with your own identifying
17*074bb90dSTom Pothier  * information: Portions Copyright [yyyy] [name of copyright owner]
18*074bb90dSTom Pothier  *
19*074bb90dSTom Pothier  * CDDL HEADER END
20*074bb90dSTom Pothier  */
21*074bb90dSTom Pothier 
22*074bb90dSTom Pothier /*
23*074bb90dSTom Pothier  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*074bb90dSTom Pothier  * Use is subject to license terms.
25*074bb90dSTom Pothier  */
26*074bb90dSTom Pothier 
27*074bb90dSTom Pothier #ifndef	_SYS_FM_SMB_FMSMB_H
28*074bb90dSTom Pothier #define	_SYS_FM_SMB_FMSMB_H
29*074bb90dSTom Pothier 
30*074bb90dSTom Pothier 
31*074bb90dSTom Pothier #ifdef	__cplusplus
32*074bb90dSTom Pothier extern "C" {
33*074bb90dSTom Pothier #endif
34*074bb90dSTom Pothier 
35*074bb90dSTom Pothier #include <sys/nvpair.h>
36*074bb90dSTom Pothier 
37*074bb90dSTom Pothier #ifdef _KERNEL
38*074bb90dSTom Pothier #include <sys/systm.h>
39*074bb90dSTom Pothier 
40*074bb90dSTom Pothier extern nvlist_t *fm_smb_bboard(uint_t);
41*074bb90dSTom Pothier extern nvlist_t *fm_smb_mc_bboards(uint_t);
42*074bb90dSTom Pothier extern int fm_smb_chipinst(uint_t, uint_t *, uint16_t *);
43*074bb90dSTom Pothier extern int fm_smb_mc_chipinst(uint_t, uint_t *);
44*074bb90dSTom Pothier extern void fm_smb_fmacompat();
45*074bb90dSTom Pothier 
46*074bb90dSTom Pothier #endif  /* _KERNEL */
47*074bb90dSTom Pothier 
48*074bb90dSTom Pothier #ifdef	__cplusplus
49*074bb90dSTom Pothier }
50*074bb90dSTom Pothier #endif
51*074bb90dSTom Pothier 
52*074bb90dSTom Pothier #endif /* _SYS_FM_SMB_FMSMB_H */
53