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