[ipoib] Make the ndis 5 version compile only on windows 2003 and lower.
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 25 Oct 2009 13:02:03 +0000 (13:02 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 25 Oct 2009 13:02:03 +0000 (13:02 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2506 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/dirs
ulp/ipoib/kernel/ipoib_driver.c
ulp/ipoib/kernel/makefile

index 6fcfc3b..71b32c7 100644 (file)
--- a/ulp/dirs
+++ b/ulp/dirs
@@ -3,13 +3,14 @@ DIRS =                        \
        dapl            \\r
        dapl2           \\r
        ipoib           \\r
-       srp                     \\r
-       wsd                     \\r
+       ipoib_NDIS6_CM  \\r
+       srp             \\r
+       wsd             \\r
        qlgcvnic        \\r
        libibverbs      \\r
        libibumad       \\r
        libibmad        \\r
-       libibnetdisc\\r
+       libibnetdisc    \\r
        librdmacm       \\r
-       nd                      \\r
+       nd              \\r
        netdirect\r
index 2a490aa..c0246b7 100644 (file)
@@ -786,7 +786,9 @@ ipoib_initialize(
 \r
        ipoib_ref_ibat();\r
 \r
-       IPOIB_EXIT( IPOIB_DBG_INIT );\r
+       IPOIB_PRINT_EXIT(TRACE_LEVEL_WARNING, IPOIB_DBG_INIT, \r
+               ("=====> ipoib_initialize exited\n"));\r
+\r
        return status;\r
 }\r
 \r
@@ -816,7 +818,8 @@ ipoib_halt(
 \r
        ipoib_destroy_adapter( p_adapter );\r
 \r
-       IPOIB_EXIT( IPOIB_DBG_INIT );\r
+       IPOIB_PRINT_EXIT(TRACE_LEVEL_WARNING, IPOIB_DBG_INIT, \r
+               ("=====> ipoib_halt exited\n"));\r
 }\r
 \r
 \r
@@ -1924,7 +1927,8 @@ ipoib_pnp_notify(
                ipoib_resume_oids( p_adapter );\r
        }\r
 \r
-       IPOIB_EXIT( IPOIB_DBG_PNP );\r
+       IPOIB_PRINT_EXIT(TRACE_LEVEL_WARNING, IPOIB_DBG_PNP, \r
+               ("=====> ipoib_pnp_notify exited, PnP event %d\n", pnp_event));\r
 }\r
 \r
 \r
index bffacaa..445914c 100644 (file)
@@ -4,4 +4,10 @@
 # that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
+#\r
+# prevent the Build utility from building the driver for later\r
+# version of the operating system than windows 2003\r
+#\r
+MAXIMUM_NT_TARGET_VERSION=0x502\r
+\r
 !INCLUDE ..\..\..\inc\openib.def\r