xref: /onnv-gate/usr/src/uts/common/sys/fm/io/opl_mc_fm.h (revision 5275:6c6a2ae9d17f)
11772Sjl139090 /*
21772Sjl139090  * CDDL HEADER START
31772Sjl139090  *
41772Sjl139090  * The contents of this file are subject to the terms of the
51772Sjl139090  * Common Development and Distribution License (the "License").
61772Sjl139090  * You may not use this file except in compliance with the License.
71772Sjl139090  *
81772Sjl139090  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91772Sjl139090  * or http://www.opensolaris.org/os/licensing.
101772Sjl139090  * See the License for the specific language governing permissions
111772Sjl139090  * and limitations under the License.
121772Sjl139090  *
131772Sjl139090  * When distributing Covered Code, include this CDDL HEADER in each
141772Sjl139090  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151772Sjl139090  * If applicable, add the following below this CDDL HEADER, with the
161772Sjl139090  * fields enclosed by brackets "[]" replaced with your own identifying
171772Sjl139090  * information: Portions Copyright [yyyy] [name of copyright owner]
181772Sjl139090  *
191772Sjl139090  * CDDL HEADER END
201772Sjl139090  */
211772Sjl139090 /*
22*5275Stsien  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
231772Sjl139090  * Use is subject to license terms.
241772Sjl139090  */
251772Sjl139090 
261772Sjl139090 #ifndef _SYS_FM_IO_OPL_MC_FM_H
271772Sjl139090 #define	_SYS_FM_IO_OPL_MC_FM_H
281772Sjl139090 
291772Sjl139090 #pragma ident	"%Z%%M%	%I%	%E% SMI"
301772Sjl139090 
311772Sjl139090 #ifdef	__cplusplus
321772Sjl139090 extern "C" {
331772Sjl139090 #endif
341772Sjl139090 
351772Sjl139090 /* mc-opl ereport components */
361772Sjl139090 #define	MC_OPL_ERROR_CLASS	"asic.mac"
371772Sjl139090 #define	MC_OPL_PTRL_SUBCLASS	"ptrl"
381772Sjl139090 #define	MC_OPL_MI_SUBCLASS	"mi"
391772Sjl139090 
401772Sjl139090 /*
411772Sjl139090  * ereport definition
421772Sjl139090  */
431772Sjl139090 #define	MC_OPL_UE	"ue"
441772Sjl139090 #define	MC_OPL_CE	"ce"
45*5275Stsien #define	MC_OPL_ICE	"ice"
461772Sjl139090 #define	MC_OPL_CMPE	"cmpe"
471772Sjl139090 #define	MC_OPL_MUE	"mue"
481772Sjl139090 #define	MC_OPL_SUE	"sue"
491772Sjl139090 
501772Sjl139090 /* mc-opl payload name fields */
511772Sjl139090 #define	MC_OPL_BOARD		"board"
521772Sjl139090 #define	MC_OPL_BANK		"bank"
531772Sjl139090 #define	MC_OPL_STATUS		"status"
541772Sjl139090 #define	MC_OPL_ERR_ADD		"err-add"
551772Sjl139090 #define	MC_OPL_ERR_LOG		"err-log"
561772Sjl139090 #define	MC_OPL_ERR_SYND		"syndrome"
571772Sjl139090 #define	MC_OPL_ERR_DIMMSLOT	"dimm-slot"
581772Sjl139090 #define	MC_OPL_ERR_DRAM		"dram-place"
591772Sjl139090 #define	MC_OPL_PA		"pa"
601772Sjl139090 #define	MC_OPL_FLT_TYPE		"flt-type"
611772Sjl139090 
621772Sjl139090 #define	MC_OPL_RESOURCE		"resource"
631772Sjl139090 
641772Sjl139090 #define	MC_OPL_NO_UNUM		""
651772Sjl139090 
661772Sjl139090 #ifdef	__cplusplus
671772Sjl139090 }
681772Sjl139090 #endif
691772Sjl139090 
701772Sjl139090 #endif /* _SYS_FM_IO_OPL_MC_FM_H */
71