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