1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 /* 23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27 #ifndef _SYS_FM_IO_SUN4_FIRE_H 28 #define _SYS_FM_IO_SUN4_FIRE_H 29 30 #pragma ident "%Z%%M% %I% %E% SMI" 31 32 #ifdef __cplusplus 33 extern "C" { 34 #endif 35 36 37 /* 38 * Fire Ereport Classes 39 */ 40 41 #define PCIEX_FIRE "fire" 42 43 /* FIRE's JBUS ereport classes */ 44 #define FIRE_JBC_MB_PEA "jbc.mb_pea" 45 #define FIRE_JBC_CPE "jbc.cpe" 46 #define FIRE_JBC_APE "jbc.ape" 47 #define FIRE_JBC_PIO_CPE "jbc.pio_cpe" 48 #define FIRE_JBC_JTCEEW "jbc.jtceew" 49 #define FIRE_JBC_JTCEEI "jbc.jtceei" 50 #define FIRE_JBC_JTCEER "jbc.jtceer" 51 #define FIRE_JBC_MB_PER "jbc.mb_per" 52 #define FIRE_JBC_MB_PEW "jbc.mb_pew" 53 #define FIRE_JBC_UE_ASYN "jbc.ue_asyn" 54 #define FIRE_JBC_CE_ASYN "jbc.ce_asyn" 55 #define FIRE_JBC_JTE "jbc.jte" 56 #define FIRE_JBC_JBE "jbc.jbe" 57 #define FIRE_JBC_JUE "jbc.jue" 58 #define FIRE_JBC_ICISE "jbc.icise" 59 #define FIRE_JBC_WR_DPE "jbc.wr_dpe" 60 #define FIRE_JBC_RD_DPE "jbc.rd_dpe" 61 #define FIRE_JBC_ILL_BMW "jbc.ill_bmw" 62 #define FIRE_JBC_ILL_BMR "jbc.ill_bmr" 63 #define FIRE_JBC_BJC "jbc.bjc" 64 #define FIRE_JBC_IJP "jbc.ijp" 65 #define FIRE_JBC_PIO_UNMAP_RD "jbc.pio_unmap_rd" 66 #define FIRE_JBC_PIO_UNMAP "jbc.pio_unmap" 67 #define FIRE_JBC_PIO_DPE "jbc.pio_dpe" 68 #define FIRE_JBC_ILL_ACC "jbc.ill_acc" 69 #define FIRE_JBC_ILL_ACC_RD "jbc.ill_acc_rd" 70 #define FIRE_JBC_UNSOL_RD "jbc.unsol_rd" 71 #define FIRE_JBC_UNSOL_INTR "jbc.unsol_intr" 72 #define FIRE_JBC_EBUS_TO "jbc.ebus_to" 73 74 75 /* FIRE's DMC ereport classes */ 76 #define FIRE_DMC_MSI_NOT_EN "dmc.msi_not_en" 77 #define FIRE_DMC_MSI_PAR_ERR "dmc.msi_par_err" 78 #define FIRE_DMC_MSI_MAL_ERR "dmc.msi_mal_err" 79 #define FIRE_DMC_COR_MES_NOT_EN "dmc.cor_not_en" 80 #define FIRE_DMC_NONFATAL_MES_NOT_EN "dmc.nonfatal_not_en" 81 #define FIRE_DMC_FATAL_MES_NOT_EN "dmc.fatal_not_en" 82 #define FIRE_DMC_PMPME_MES_NOT_EN "dmc.pmpme_not_en" 83 #define FIRE_DMC_PMEACK_MES_NOT_EN "dmc.pmeack_not_en" 84 #define FIRE_DMC_EQ_NOT_EN "dmc.eq_not_en" 85 #define FIRE_DMC_EQ_OVER "dmc.eq_over" 86 #define FIRE_DMC_BYP_ERR "dmc.byp_err" 87 #define FIRE_DMC_BYP_OOR "dmc.byp_oor" 88 #define FIRE_DMC_TRN_ERR "dmc.trn_err" 89 #define FIRE_DMC_TRN_OOR "dmc.trn_oor" 90 #define FIRE_DMC_TTE_INV "dmc.tte_inv" 91 #define FIRE_DMC_TTE_PRT "dmc.tte_prt" 92 #define FIRE_DMC_TTC_DPE "dmc.ttc_dpe" 93 #define FIRE_DMC_TBW_DME "dmc.tbw_dme" 94 #define FIRE_DMC_TBW_UDE "dmc.tbw_ude" 95 #define FIRE_DMC_TBW_ERR "dmc.tbw_err" 96 #define FIRE_DMC_TBW_DPE "dmc.tbw_dpe" 97 #define FIRE_DMC_TTC_CAE "dmc.ttc_cae" 98 99 100 /* FIRE's PEC ereport classes */ 101 #define FIRE_PEC_IHB_PE "pec.ihb_pe" 102 #define FIRE_PEC_MRC "pec.mrc" 103 #define FIRE_PEC_WUC "pec.wuc" 104 #define FIRE_PEC_RUC "pec.ruc" 105 #define FIRE_PEC_CRS "pec.crs" 106 #define FIRE_PEC_IIP "pec.iip" 107 #define FIRE_PEC_EDP "pec.edp" 108 #define FIRE_PEC_EHP "pec.ehp" 109 #define FIRE_PEC_LIN "pec.lin" 110 #define FIRE_PEC_LRS "pec.lrs" 111 #define FIRE_PEC_LDN "pec.ldn" 112 #define FIRE_PEC_LUP "pec.lup" 113 #define FIRE_PEC_ERU "pec.eru" 114 #define FIRE_PEC_ERO "pec.ero" 115 #define FIRE_PEC_EMP "pec.emp" 116 #define FIRE_PEC_EPE "pec.epe" 117 #define FIRE_PEC_ERP "pec.erp" 118 #define FIRE_PEC_EIP "pec.eip" 119 #define FIRE_PEC_UR "pec.ur" 120 #define FIRE_PEC_ROF "pec.rof" 121 #define FIRE_PEC_UC "pec.uc" 122 #define FIRE_PEC_CTO "pec.cto" 123 #define FIRE_PEC_MFP "pec.mfp" 124 #define FIRE_PEC_PP "pec.pp" 125 #define FIRE_PEC_FCP "pec.fcp" 126 #define FIRE_PEC_DLP "pec.dlp" 127 #define FIRE_PEC_TE "pec.te" 128 #define FIRE_PEC_CA "pec.ca" 129 #define FIRE_PEC_RTO "pec.rto" 130 #define FIRE_PEC_RNR "pec.rnr" 131 #define FIRE_PEC_BDP "pec.bdp" 132 #define FIRE_PEC_BTP "pec.btp" 133 #define FIRE_PEC_RE "pec.re" 134 135 /* Primary error */ 136 #define FIRE_PRIMARY "primary" 137 138 /* PEC ereport payload */ 139 #define FIRE_ILU_ELE "ilu-ele" 140 #define FIRE_ILU_ESS "ilu-ess" 141 #define FIRE_ILU_IE "ilu-ie" 142 #define FIRE_ILU_IS "ilu-is" 143 #define FIRE_TLU_CELE "tlu-cele" 144 #define FIRE_TLU_CESS "tlu-cess" 145 #define FIRE_TLU_CIE "tlu-cie" 146 #define FIRE_TLU_CIS "tlu-cis" 147 #define FIRE_TLU_OEELE "tlu-oeele" 148 #define FIRE_TLU_OEESS "tlu-oeess" 149 #define FIRE_TLU_OEIE "tlu-oeie" 150 #define FIRE_TLU_OEIS "tlu-oeis" 151 #define FIRE_TLU_ROEEH1L "tlu-roeeh1l" 152 #define FIRE_TLU_ROEEH2L "tlu-roeeh2l" 153 #define FIRE_TLU_RUEH1L "tlu-rueh1l" 154 #define FIRE_TLU_RUEH2L "tlu-rueh2l" 155 #define FIRE_TLU_TOEEH1L "tlu-toeeh1l" 156 #define FIRE_TLU_TOEEH2L "tlu-toeeh2l" 157 #define FIRE_TLU_TUEH1L "tlu-tueh1l" 158 #define FIRE_TLU_TUEH2L "tlu-tueh2l" 159 #define FIRE_TLU_UELE "tlu-uele" 160 #define FIRE_TLU_UESS "tlu-uess" 161 #define FIRE_TLU_UIE "tlu-uie" 162 #define FIRE_TLU_UIS "tlu-uis" 163 164 /* DMC ereport payload */ 165 #define FIRE_IMU_ELE "imu-ele" 166 #define FIRE_IMU_ESS "imu-ess" 167 #define FIRE_IMU_IE "imu-ie" 168 #define FIRE_IMU_IS "imu-is" 169 #define FIRE_IMU_RDS "imu-rds" 170 #define FIRE_IMU_SCS "imu-scs" 171 #define FIRE_MMU_ELE "mmu-ele" 172 #define FIRE_MMU_ESS "mmu-ess" 173 #define FIRE_MMU_IE "mmu-ie" 174 #define FIRE_MMU_IS "mmu-is" 175 #define FIRE_MMU_TFAR "mmu-tfar" 176 #define FIRE_MMU_TFSR "mmu-tfsr" 177 178 /* JBC ereport payload */ 179 #define FIRE_JBC_DMC_IDC "jbc-dmc-idc" 180 #define FIRE_JBC_DMC_ODCD "jbc-dmc-odcd" 181 #define FIRE_JBC_ELE "jbc-ele" 182 #define FIRE_JBC_ESS "jbc-ess" 183 #define FIRE_JBC_FEL1 "jbc-fel1" 184 #define FIRE_JBC_FEL2 "jbc-fel2" 185 #define FIRE_JBC_IE "jbc-ie" 186 #define FIRE_JBC_IS "jbc-is" 187 #define FIRE_JBC_JITEL1 "jbc-jitel1" 188 #define FIRE_JBC_JITEL2 "jbc-jitel2" 189 #define FIRE_JBC_JOTEL1 "jbc-jotel1" 190 #define FIRE_JBC_JOTEL2 "jbc-jotel2" 191 #define FIRE_JBC_MTEL "jbc-mtel" 192 193 #ifdef __cplusplus 194 } 195 #endif 196 197 #endif /* _SYS_FM_IO_SUN4_FIRE_H */ 198