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