1*906Sgm89044/* 2*906Sgm89044 * CDDL HEADER START 3*906Sgm89044 * 4*906Sgm89044 * The contents of this file are subject to the terms of the 5*906Sgm89044 * Common Development and Distribution License (the "License"). 6*906Sgm89044 * You may not use this file except in compliance with the License. 7*906Sgm89044 * 8*906Sgm89044 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*906Sgm89044 * or http://www.opensolaris.org/os/licensing. 10*906Sgm89044 * See the License for the specific language governing permissions 11*906Sgm89044 * and limitations under the License. 12*906Sgm89044 * 13*906Sgm89044 * When distributing Covered Code, include this CDDL HEADER in each 14*906Sgm89044 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*906Sgm89044 * If applicable, add the following below this CDDL HEADER, with the 16*906Sgm89044 * fields enclosed by brackets "[]" replaced with your own identifying 17*906Sgm89044 * information: Portions Copyright [yyyy] [name of copyright owner] 18*906Sgm89044 * 19*906Sgm89044 * CDDL HEADER END 20*906Sgm89044 */ 21*906Sgm89044 22*906Sgm89044/* 23*906Sgm89044 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*906Sgm89044 * Use is subject to license terms. 25*906Sgm89044 */ 26*906Sgm89044 27*906Sgm89044#pragma ident "%Z%%M% %I% %E% SMI" 28*906Sgm89044/* 29*906Sgm89044 * sca1000.esc: Deimos eversholt source code 30*906Sgm89044 */ 31*906Sgm89044 32*906Sgm89044#pragma dictionary "SCA1000" 33*906Sgm89044 34*906Sgm89044/* 35*906Sgm89044 * For Deimos, there is one ASRU that includes both the driver and the card, 36*906Sgm89044 * and there are two FRUs, the driver and the card. 37*906Sgm89044 */ 38*906Sgm89044 39*906Sgm89044#define P pcibus/pcidev/pcifn 40*906Sgm89044 41*906Sgm89044asru P; 42*906Sgm89044fru P; 43*906Sgm89044 44*906Sgm89044/* 45*906Sgm89044 * The hardware card may generate faults. 46*906Sgm89044 * The driver passes the user data to the hardware and returns the hardware 47*906Sgm89044 * generated results to the user. It does check input and output data errors. 48*906Sgm89044 * However, it returns these errors to the calling application. Since the 49*906Sgm89044 * driver itself does not do any data manipulation or generation, it does not 50*906Sgm89044 * have upsets. 51*906Sgm89044 */ 52*906Sgm89044 53*906Sgm89044/* 54*906Sgm89044 * Declare faults 55*906Sgm89044 */ 56*906Sgm89044event fault.io.sca1000.hw@P, FITrate=50, ASRU=P, FRU=P; 57*906Sgm89044 58*906Sgm89044/* 59*906Sgm89044 * Hardware faults lead to the following error 60*906Sgm89044 */ 61*906Sgm89044event error.io.sca1000.hw.device@P; /* DMA device errors */ 62*906Sgm89044event error.io.sca1000.hw.timeout@P; /* Device hang */ 63*906Sgm89044 64*906Sgm89044/* 65*906Sgm89044 * Declare ereports 66*906Sgm89044 */ 67*906Sgm89044event ereport.io.sca1000.hw.device@P; 68*906Sgm89044event ereport.io.sca1000.hw.timeout@P; 69*906Sgm89044 70*906Sgm89044/* 71*906Sgm89044 * Declear event propagations for faults 72*906Sgm89044 */ 73*906Sgm89044prop fault.io.sca1000.hw@P(0) 74*906Sgm89044 -> error.io.sca1000.hw.device@P, 75*906Sgm89044 error.io.sca1000.hw.timeout@P; 76*906Sgm89044 77*906Sgm89044prop error.io.sca1000.hw.device@P 78*906Sgm89044 -> ereport.io.sca1000.hw.device@P; 79*906Sgm89044prop error.io.sca1000.hw.timeout@P 80*906Sgm89044 -> ereport.io.sca1000.hw.timeout@P; 81