ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc/*
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * CDDL HEADER START
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc *
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * The contents of this file are subject to the terms of the
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * Common Development and Distribution License (the "License").
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * You may not use this file except in compliance with the License.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc *
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * or http://www.opensolaris.org/os/licensing.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * See the License for the specific language governing permissions
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * and limitations under the License.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc *
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * When distributing Covered Code, include this CDDL HEADER in each
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * If applicable, add the following below this CDDL HEADER, with the
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * fields enclosed by brackets "[]" replaced with your own identifying
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * information: Portions Copyright [yyyy] [name of copyright owner]
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc *
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * CDDL HEADER END
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc */
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc/*
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * Use is subject to license terms.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc */
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc#pragma ident "%Z%%M% %I% %E% SMI"
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc#pragma dictionary "NXGE"
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc/*
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * Eversholt rules for the XFP optical transceiver inserted into
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * a Neptune based NIC card.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc */
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc#define XFP_FIT 100
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycasru pciexbus/pciexdev/pciexfn;
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycfru pciexbus/pciexdev/pciexfn/xfp;
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycevent fault.io.n2.niu-xfp@pciexbus/pciexdev/pciexfn/xfp
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc FITrate=XFP_FIT, FRU=pciexbus/pciexdev/pciexfn/xfp,
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc ASRU=pciexbus/pciexdev/pciexfn;
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc/*
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * Add 5 seconds constraint so that multiple identical ereports
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * occuring within 10 seconds are considered symptoms of a single fault
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc */
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycevent error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn;
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycevent ereport.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn {within(10s)};
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycevent ereport.io.service.lost@pciexbus/pciexdev/pciexfn {within(10s)};
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc/*
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * Events ereport.io.device.nxge.xfp-err and ereport.io.service.lost are
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * related because the driver calls ddi_fm_service_impact right after
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * generating the xfp-err ereport. A internal error.io.device.nxge.xfp-err
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * is generated only after the FMD has received both ereport.io.device.
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * nxge.xfp-err and ereport.io.service.lost, then the error event will
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * trigger fault.io.n2.niu-xfp. Based on the following rules, the diagnose
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * engine will generate only one fault (fault.io.n2.niu-xfp) instead of two
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * (associated with ereport.io.device.nxge.xfp-err and ereport.io.service.lost
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc * respectively).
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc */
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycprop fault.io.n2.niu-xfp@pciexbus/pciexdev/pciexfn/xfp (1) ->
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn;
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc
ee5416c9d7e449233197d5d20bc6b81e4ff091b2ycprop error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn (2) ->
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc ereport.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn,
ee5416c9d7e449233197d5d20bc6b81e4ff091b2yc ereport.io.service.lost@pciexbus/pciexdev/pciexfn;