[IPoIB NDIS 6.0 CM]
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 30 Nov 2009 15:22:32 +0000 (15:22 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 30 Nov 2009 15:22:32 +0000 (15:22 +0000)
Upgrade revision to NDIS 6.1 because of bug at WHQL tests:
When running NDIS6.5 test on 6.0 driver, it starts to execute VMQ tests that not supported at IPoIB driver.
(mlnx 5136)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2599 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib_NDIS6_CM/kernel/SOURCES
ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp

index 86d0d9b..991fd35 100644 (file)
@@ -31,7 +31,7 @@ SOURCES=      ipoib_log.mc \
 INCLUDES=..;..\..\..\inc;..\..\..\inc\kernel;\r
 \r
 C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 \\r
-       -DDEPRECATE_DDK_FUNCTIONS -DNDIS60_MINIPORT=1 -DNEED_CL_OBJ -DBINARY_COMPATIBLE=0\r
+       -DDEPRECATE_DDK_FUNCTIONS -DNDIS61_MINIPORT=1 -DNEED_CL_OBJ -DBINARY_COMPATIBLE=0\r
 \r
 TARGETLIBS= \\r
        $(TARGETPATH)\*\complib.lib \\r
index 497739a..bce1326 100644 (file)
@@ -58,7 +58,7 @@
 #define MINOR_DRIVER_VERSION 1\r
 \r
 #define MAJOR_NDIS_VERSION 6\r
-#define MINOR_NDIS_VERSION 0\r
+#define MINOR_NDIS_VERSION 1\r
 \r
 \r
 PDRIVER_OBJECT                         g_p_drv_obj;\r
@@ -588,9 +588,9 @@ DriverEntry(
 \r
     NdisZeroMemory(&characteristics, sizeof(characteristics));\r
 \r
-    characteristics.Header.Type = NDIS_OBJECT_TYPE_MINIPORT_DRIVER_CHARACTERISTICS,\r
-    characteristics.Header.Size = sizeof(NDIS_MINIPORT_DRIVER_CHARACTERISTICS);\r
-    characteristics.Header.Revision = NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_1;\r
+    characteristics.Header.Type = NDIS_OBJECT_TYPE_MINIPORT_DRIVER_CHARACTERISTICS;\r
+    characteristics.Header.Size = NDIS_SIZEOF_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_2;\r
+    characteristics.Header.Revision = NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_2;\r
 \r
        characteristics.MajorNdisVersion                = MAJOR_NDIS_VERSION;\r
        characteristics.MinorNdisVersion                = MINOR_NDIS_VERSION;\r