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