/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* Defaults
*/
int enx_log_timestamps = 0;
/*
* Debug variables, should not be tunables so allocated debug buffer
* and its size remain consistent.
*/
static void eibnx_log(char *);
void
eibnx_debug_init(void)
{
enx_debug_buf_ndx = 0;
}
void
eibnx_debug_fini(void)
{
if (enx_debug_buf && enx_debug_buf_sz) {
}
enx_debug_buf_sz = 0;
enx_debug_buf_ndx = 0;
}
void
{
int msglen;
if (enx_debug_buf == NULL)
return;
if (enx_log_timestamps) {
(unsigned long long)ddi_get_lbolt64(), msg);
} else {
}
if (msglen < 0)
return;
else if (msglen >= ENX_MAX_LINE)
if ((enx_debug_buf_ndx == 0) ||
}
enx_debug_buf_ndx = 0;
}
#ifdef ENX_DEBUG
void
{
int msglen;
return;
if (msglen > 0) {
}
}
void
{
int msglen;
return;
if (msglen > 0) {
}
}
void
{
int msglen;
return;
if (msglen > 0) {
}
}
#endif
void
{
int msglen;
return;
if (msglen > 0) {
}
}
void
{
int msglen;
return;
if (msglen > 0) {
}
}
void
{
int msglen;
return;
if (msglen > 0) {
}
}