47693af92e50a1ad81825eb01b7157a211269613mx * CDDL HEADER START
47693af92e50a1ad81825eb01b7157a211269613mx * The contents of this file are subject to the terms of the
47693af92e50a1ad81825eb01b7157a211269613mx * Common Development and Distribution License (the "License").
47693af92e50a1ad81825eb01b7157a211269613mx * You may not use this file except in compliance with the License.
47693af92e50a1ad81825eb01b7157a211269613mx * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
47693af92e50a1ad81825eb01b7157a211269613mx * See the License for the specific language governing permissions
47693af92e50a1ad81825eb01b7157a211269613mx * and limitations under the License.
47693af92e50a1ad81825eb01b7157a211269613mx * When distributing Covered Code, include this CDDL HEADER in each
47693af92e50a1ad81825eb01b7157a211269613mx * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
47693af92e50a1ad81825eb01b7157a211269613mx * If applicable, add the following below this CDDL HEADER, with the
47693af92e50a1ad81825eb01b7157a211269613mx * fields enclosed by brackets "[]" replaced with your own identifying
47693af92e50a1ad81825eb01b7157a211269613mx * information: Portions Copyright [yyyy] [name of copyright owner]
47693af92e50a1ad81825eb01b7157a211269613mx * CDDL HEADER END
47693af92e50a1ad81825eb01b7157a211269613mx * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
47693af92e50a1ad81825eb01b7157a211269613mx * Use is subject to license terms.
6f3e57ac9d0b054c3169579f3422080b8ba10105mx#pragma ident "%Z%%M% %I% %E% SMI"
6f3e57ac9d0b054c3169579f3422080b8ba10105mx * Global variable for default debug flags
6f3e57ac9d0b054c3169579f3422080b8ba10105mx * Global mutex used by logging routines below
6f3e57ac9d0b054c3169579f3422080b8ba10105mx * Static data used by logging routines; protected by <nge_log_mutex>
6f3e57ac9d0b054c3169579f3422080b8ba10105mxstatic struct {
6f3e57ac9d0b054c3169579f3422080b8ba10105mx * Backend print routine for all the routines below
6f3e57ac9d0b054c3169579f3422080b8ba10105mxstatic void
6f3e57ac9d0b054c3169579f3422080b8ba10105mx cmn_err(nge_log_data.level, nge_log_data.fmt, nge_log_data.who, buf);
6f3e57ac9d0b054c3169579f3422080b8ba10105mx * Log a run-time event (CE_NOTE, log only)
6f3e57ac9d0b054c3169579f3422080b8ba10105mx * Log a run-time problem (CE_WARN, log only)
6f3e57ac9d0b054c3169579f3422080b8ba10105mx * Log a programming error (CE_WARN, log only)
6f3e57ac9d0b054c3169579f3422080b8ba10105mxstatic const char *
6f3e57ac9d0b054c3169579f3422080b8ba10105mx "need to power off/power on system. It is hardware bug";
6f3e57ac9d0b054c3169579f3422080b8ba10105mx msg = "Reset rx's channel fails. Need to power off/power"
6f3e57ac9d0b054c3169579f3422080b8ba10105mx "on system";
6f3e57ac9d0b054c3169579f3422080b8ba10105mx msg = "Reset rx's channel fails. Need to power off/power"
6f3e57ac9d0b054c3169579f3422080b8ba10105mx "on system";
6f3e57ac9d0b054c3169579f3422080b8ba10105mxstatic void