[MLX4] little fixes in debug stuff. [mlnx: 3344]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 22 Oct 2008 14:08:22 +0000 (14:08 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 22 Oct 2008 14:08:22 +0000 (14:08 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1680 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/bus/core/l2w_debug.c
hw/mlx4/kernel/hca/debug.h
hw/mlx4/kernel/inc/mlx4_debug.h

index 670414f..7d33eab 100644 (file)
@@ -134,7 +134,7 @@ mlx4_err(
        buf[MAX_BUFFER_SIZE - 1] = '\0';
        if (RtlStringCbVPrintfA( (char*)buf, sizeof(buf), format, list))
                return;
-       DbgPrint( (char*)buf );
+       DbgPrint( "%s\n", (char*)buf );
        va_end(list);
 
        // print to Event Log
@@ -158,7 +158,7 @@ mlx4_dbg(
        va_start(list, format);
        buf[MAX_BUFFER_SIZE - 1] = '\0';
        RtlStringCbVPrintfA( (char*)buf, sizeof(buf), format, list);
-       DbgPrint( (char*)buf );
+       DbgPrint( "%s\n", (char*)buf );
        va_end(list);
 #else  
        UNUSED_PARAM(mdev);
@@ -181,7 +181,7 @@ dev_err(
        va_start(list, format);
        buf[MAX_BUFFER_SIZE - 1] = '\0';
        RtlStringCbVPrintfA( (char*)buf, sizeof(buf), format, list);
-       DbgPrint( (char*)buf );
+       DbgPrint( "%s\n", (char*)buf );
        va_end(list);
 
        // print to Event Log
@@ -205,7 +205,7 @@ dev_info(
        va_start(list, format);
        buf[MAX_BUFFER_SIZE - 1] = '\0';
        RtlStringCbVPrintfA( (char*)buf, sizeof(buf), format, list);
-       DbgPrint( (char*)buf );
+       DbgPrint( "%s\n", (char*)buf );
        va_end(list);
 #else  
        UNUSED_PARAM(p_mdev);
index 56bd4f2..2b1e8b5 100644 (file)
@@ -67,9 +67,9 @@
 // begin_wpp config\r
 // HCA_ENTER(FLAG);\r
 // HCA_EXIT(FLAG);\r
-// USEPREFIX(HCA_PRINT, "%!STDPREFIX! [MTHCA] :%!FUNC!() :");\r
-// USESUFFIX(HCA_ENTER, " [MTHCA] :%!FUNC!()[");\r
-// USESUFFIX(HCA_EXIT, " [MTHCA] :%!FUNC!()]");\r
+// USEPREFIX(HCA_PRINT, "%!STDPREFIX! [MLX4_HCA] :%!FUNC!() :");\r
+// USESUFFIX(HCA_ENTER, " [MLX4_HCA] :%!FUNC!()[");\r
+// USESUFFIX(HCA_EXIT, " [MLX4_HCA] :%!FUNC!()]");\r
 // end_wpp\r
 \r
 \r
index 0a2b710..76e8d2e 100644 (file)
@@ -117,9 +117,9 @@ end:
 // begin_wpp config\r
 // MLX4_ENTER(FLAG);\r
 // MLX4_EXIT(FLAG);\r
-// USEPREFIX(MLX4_PRINT, "%!STDPREFIX! [MTMLX4] :%!FUNC!() :");\r
-// USESUFFIX(MLX4_ENTER, " [MTMLX4] :%!FUNC!()[");\r
-// USESUFFIX(MLX4_EXIT, " [MTMLX4] :%!FUNC!()]");\r
+// USEPREFIX(MLX4_PRINT, "%!STDPREFIX! [MLX4_BUS] :%!FUNC!() :");\r
+// USESUFFIX(MLX4_ENTER, " [MLX4_BUS] :%!FUNC!()[");\r
+// USESUFFIX(MLX4_EXIT, " [MLX4_BUS] :%!FUNC!()]");\r
 // end_wpp\r
 \r
 \r