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.
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.
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]
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
26 #pragma ident "%Z%%M% %I% %E% SMI"
28 #pragma dictionary "NXGE"
31 * Eversholt rules for the XFP optical transceiver inserted into
32 * a Neptune based NIC card.
37 asru pciexbus/pciexdev/pciexfn;
38 fru pciexbus/pciexdev/pciexfn/xfp;
40 event fault.io.n2.niu-xfp@pciexbus/pciexdev/pciexfn/xfp
41 FITrate=XFP_FIT, FRU=pciexbus/pciexdev/pciexfn/xfp,
42 ASRU=pciexbus/pciexdev/pciexfn;
45 * Add 5 seconds constraint so that multiple identical ereports
46 * occuring within 10 seconds are considered symptoms of a single fault
48 event error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn;
49 event ereport.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn {within(10s)};
50 event ereport.io.service.lost@pciexbus/pciexdev/pciexfn {within(10s)};
53 * Events ereport.io.device.nxge.xfp-err and ereport.io.service.lost are
54 * related because the driver calls ddi_fm_service_impact right after
55 * generating the xfp-err ereport. A internal error.io.device.nxge.xfp-err
56 * is generated only after the FMD has received both ereport.io.device.
57 * nxge.xfp-err and ereport.io.service.lost, then the error event will
58 * trigger fault.io.n2.niu-xfp. Based on the following rules, the diagnose
59 * engine will generate only one fault (fault.io.n2.niu-xfp) instead of two
60 * (associated with ereport.io.device.nxge.xfp-err and ereport.io.service.lost
63 prop fault.io.n2.niu-xfp@pciexbus/pciexdev/pciexfn/xfp (1) ->
64 error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn;
66 prop error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn (2) ->
67 ereport.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn,
68 ereport.io.service.lost@pciexbus/pciexdev/pciexfn;