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/* 30*906Sgm89044 * sca500.esc: Deimos eversholt source code 31*906Sgm89044 */ 32*906Sgm89044 33*906Sgm89044#pragma dictionary "SCA500" 34*906Sgm89044 35*906Sgm89044/* 36*906Sgm89044 * For Deimos, there is one ASRU that includes both the driver and the card, 37*906Sgm89044 * and there are two FRUs, the driver and the card. 38*906Sgm89044 */ 39*906Sgm89044 40*906Sgm89044#define P pcibus/pcidev/pcifn 41*906Sgm89044 42*906Sgm89044asru P; 43*906Sgm89044fru P; 44*906Sgm89044 45*906Sgm89044/* 46*906Sgm89044 * The hardware card may generate faults. 47*906Sgm89044 * The driver passes the user data to the hardware and returns the hardware 48*906Sgm89044 * generated results to the user. It does check input and output data errors. 49*906Sgm89044 * However, it returns these errors to the calling application. Since the 50*906Sgm89044 * driver itself does not do any data manipulation or generation, it does not 51*906Sgm89044 * have upsets. 52*906Sgm89044 */ 53*906Sgm89044 54*906Sgm89044/* 55*906Sgm89044 * Declare faults 56*906Sgm89044 */ 57*906Sgm89044event fault.io.sca500.hw@P, FITrate=50, ASRU=P, FRU=P; 58*906Sgm89044 59*906Sgm89044/* 60*906Sgm89044 * Hardware faults lead to the following error 61*906Sgm89044 */ 62*906Sgm89044event error.io.sca500.hw.device@P; /* DMA device errors */ 63*906Sgm89044event error.io.sca500.hw.timeout@P; /* Device hang */ 64*906Sgm89044 65*906Sgm89044/* 66*906Sgm89044 * Declare ereports 67*906Sgm89044 */ 68*906Sgm89044event ereport.io.sca500.hw.device@P; 69*906Sgm89044event ereport.io.sca500.hw.timeout@P; 70*906Sgm89044 71*906Sgm89044/* 72*906Sgm89044 * Declear event propagations for faults 73*906Sgm89044 */ 74*906Sgm89044prop fault.io.sca500.hw@P(0) 75*906Sgm89044 -> error.io.sca500.hw.device@P, 76*906Sgm89044 error.io.sca500.hw.timeout@P; 77*906Sgm89044 78*906Sgm89044prop error.io.sca500.hw.device@P 79*906Sgm89044 -> ereport.io.sca500.hw.device@P; 80*906Sgm89044prop error.io.sca500.hw.timeout@P 81*906Sgm89044 -> ereport.io.sca500.hw.timeout@P; 82