FreeBSD/sys/dev/vxge/vxgehal/vxgehal-driver.c
/*
 * vxge_hal_driver_debug_set - Set the debug module, level and timestamp
 * @level: Debug level as defined in enum vxge_debug_level_e
 *
 * This routine is used to dynamically change the debug output
 */
Set the debug module, level and timestamp
@level: Debug level as defined in enum vxge_debug_level_e

This routine is used to dynamically change the debug output
Set the debug module level and timestamp @level : Debug level as defined in enum vxge_debug_level_e This routine is used to dynamically change the debug output
void
vxge_hal_driver_debug_set(
    vxge_debug_level_e level)
{
	g_vxge_hal_driver->debug_level = level;
	g_debug_level = 0;
	switch (level) {
	case VXGE_TRACE:
		g_debug_level |= VXGE_TRACE;
	case VXGE_INFO:
		g_debug_level |= VXGE_INFO;
	case VXGE_ERR:
		g_debug_level |= VXGE_ERR;
	default:
		break;
	}
}
void vxge_hal_driver_debug_set ( vxge_debug_level_e level ) { g_vxge_hal_driver -> debug_level = level ; g_debug_level = 0 ; switch ( level ) { case VXGE_TRACE : g_debug_level |= VXGE_TRACE ; case VXGE_INFO : g_debug_level |= VXGE_INFO ; case VXGE_ERR : g_debug_level |= VXGE_ERR ; default : break ; } }
vxge_hal_driver_debug_set - Set the debug module, level and timestamp
 @level: Debug level as defined in enum vxge_debug_level_e
vxge_hal_driver_debug_set - Set the debug module level and timestamp @level : Debug level as defined in enum vxge_debug_level_e
/* FALLTHRU */ /* FALLTHRU */ /* FALLTHRU */ /* FALLTHRU */