]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
OpenIB branding
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 18 Oct 2005 22:03:10 +0000 (22:03 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 18 Oct 2005 22:03:10 +0000 (22:03 +0000)
Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1@123 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

44 files changed:
trunk/core/al/kernel/ibal.rc
trunk/core/al/kernel/makefile
trunk/core/al/user/ibal.rc
trunk/core/al/user/makefile
trunk/core/bus/kernel/ibbus.rc
trunk/core/bus/kernel/makefile
trunk/core/complib/kernel/SOURCES
trunk/core/complib/kernel/complib.rc [deleted file]
trunk/core/complib/user/complib.rc
trunk/core/complib/user/makefile
trunk/core/iou/kernel/ibiou.rc
trunk/core/iou/kernel/makefile
trunk/hw/mt23108/kernel/Makefile
trunk/hw/mt23108/kernel/hca.rc
trunk/hw/mt23108/user/Makefile
trunk/hw/mt23108/user/uvpd.rc
trunk/hw/mt23108/vapi/kernel/Makefile
trunk/hw/mt23108/vapi/kernel/mt23108.rc
trunk/inc/ics_ver.h [deleted file]
trunk/inc/oib_ver.h [new file with mode: 0644]
trunk/inc/openib.def [new file with mode: 0644]
trunk/tests/alts/kernel/alts.rc
trunk/tests/alts/kernel/makefile
trunk/tests/alts/user/makefile
trunk/tests/cmtest/user/makefile
trunk/tools/coinstaller/user/makefile
trunk/tools/vstat/dirs
trunk/tools/vstat/user/makefile
trunk/tools/vstat/user/vstat.rc
trunk/tools/wsdinstall/user/installsp.c
trunk/tools/wsdinstall/user/makefile
trunk/ulp/dapl/dapl/udapl/makefile
trunk/ulp/dapl/dat/udat/makefile
trunk/ulp/dapl/test/udapl/dapltest/makefile
trunk/ulp/dirs
trunk/ulp/ipoib/kernel/ipoib.rc
trunk/ulp/ipoib/kernel/makefile
trunk/ulp/opensm/user/opensm/Makefile
trunk/ulp/opensm/user/opensm/opensm.rc
trunk/ulp/srp/dirs
trunk/ulp/srp/kernel/ibsrp.rc
trunk/ulp/srp/kernel/makefile
trunk/ulp/wsd/user/ibspdll.rc
trunk/ulp/wsd/user/makefile

index 2f72835241de962b4ed19ec9bb87684877fc2249..608d6f38a0c931b155533ee984396c5ca467ef25 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index daf1fe177b384bb9e9e6527144b92bd3c779ce25..e2d86f5f5d2662d95a03e27d214ebfba5de1fcdf 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DLL\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index b17aad08f6ce1d795237ade42d3c64a7887384e6..a6b3ffd0f551bf30a0d32533fa950eee253f544d 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index e1f602c7a78f13b211d35b1c6b9a73e84f324f82..dd3857506c0ddb6996d8b13c630ac835597dc967 100644 (file)
@@ -2,9 +2,7 @@ TARGETNAME=complib
 TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)\r
 TARGETTYPE=DRIVER_LIBRARY\r
 \r
-DLLDEF=cl_exports.def\r
-\r
-SOURCES= complib.rc            \\r
+SOURCES= \\r
        cl_driver.c                     \\r
        cl_event.c                      \\r
        cl_log.c                        \\r
@@ -29,6 +27,6 @@ SOURCES= complib.rc           \
 \r
 INCLUDES=..\..\..\inc;..\..\..\inc\kernel;\r
 \r
-C_DEFINES=$(C_DEFINES) -DDRIVER        -DEXPORT_CL_SYMBOLS -DDEPRECATE_DDK_FUNCTIONS\r
+C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS\r
 \r
 MSC_WARNING_LEVEL= /W4\r
diff --git a/trunk/core/complib/kernel/complib.rc b/trunk/core/complib/kernel/complib.rc
deleted file mode 100644 (file)
index 34cce2f..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/*\r
- * Copyright (c) 2005 SilverStorm Technologies.  All rights reserved.\r
- *\r
- * This software is available to you under the OpenIB.org BSD license\r
- * below:\r
- *\r
- *     Redistribution and use in source and binary forms, with or\r
- *     without modification, are permitted provided that the following\r
- *     conditions are met:\r
- *\r
- *      - Redistributions of source code must retain the above\r
- *        copyright notice, this list of conditions and the following\r
- *        disclaimer.\r
- *\r
- *      - Redistributions in binary form must reproduce the above\r
- *        copyright notice, this list of conditions and the following\r
- *        disclaimer in the documentation and/or other materials\r
- *        provided with the distribution.\r
- *\r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\r
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\r
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r
- * SOFTWARE.\r
- *\r
- * $Id$\r
- */\r
-\r
-\r
-#include <ics_ver.h>\r
-\r
-#define VER_FILETYPE                           VFT_DRV\r
-#define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
-\r
-#ifdef _DEBUG_\r
-#define VER_FILEDESCRIPTION_STR                "Kernel Mode Component Library (Debug)"\r
-#else\r
-#define VER_FILEDESCRIPTION_STR                "Kernel Mode Component Library"\r
-#endif\r
-\r
-#define VER_INTERNALNAME_STR           "complib.sys"\r
-#define VER_ORIGINALFILENAME_STR       "complib.sys"\r
-\r
-#include <common.ver>\r
index d5abc53ee1cfd36c71c84e46150f978e5a4616a0..6237874c6c7deb5eead6d2b93d817d57addb539a 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DLL\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 21df4af19b2c279d5d1dad92d7dfc6544143ce02..56b995afc02a4b158dc018fabcbbfc52298f5bdf 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 2bbccd016a538dce32d9c2c7e786c2ab3773f5b7..9dfda9ebe600aa15f2e35350168c0b42df3fbfe7 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 2bc4b440eedb753f6dc09c8bb114d05062e54afd..a67b222ac8afa657b9822c29a9b9ecbbf4d453ba 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DLL\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..a0c062738d0f515cf8ff058257ea466b25b9f995 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\..\inc\openib.def\r
index de37251ba90483989cf62b78b774f6c6c63b6dcb..63a513ebd3a547de62e8ea6a970c107ab4fea13a 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
diff --git a/trunk/inc/ics_ver.h b/trunk/inc/ics_ver.h
deleted file mode 100644 (file)
index 834667e..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-/*\r
- * Copyright (c) 2005 SilverStorm Technologies.  All rights reserved.\r
- *\r
- * This software is available to you under the OpenIB.org BSD license\r
- * below:\r
- *\r
- *     Redistribution and use in source and binary forms, with or\r
- *     without modification, are permitted provided that the following\r
- *     conditions are met:\r
- *\r
- *      - Redistributions of source code must retain the above\r
- *        copyright notice, this list of conditions and the following\r
- *        disclaimer.\r
- *\r
- *      - Redistributions in binary form must reproduce the above\r
- *        copyright notice, this list of conditions and the following\r
- *        disclaimer in the documentation and/or other materials\r
- *        provided with the distribution.\r
- *\r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\r
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\r
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r
- * SOFTWARE.\r
- *\r
- * $Id$\r
- */\r
-\r
-\r
-#include <windows.h>\r
-#include <ntverp.h>\r
-\r
-#ifndef VER_FILEMAJORVERSION\r
-#define VER_FILEMAJORVERSION           3\r
-#endif\r
-\r
-#ifndef VER_FILEMINORVERSION\r
-#define VER_FILEMINORVERSION           0\r
-#endif\r
-\r
-#ifndef VER_FILEBUILD\r
-#define VER_FILEBUILD                          36\r
-#endif\r
-\r
-#ifndef VER_FILEREV\r
-#define VER_FILEREV                                    0\r
-#endif\r
-\r
-#if            (VER_FILEBUILD < 10)\r
-#define VER_FILEBPAD "000"\r
-#elif  (VER_FILEBUILD < 100)\r
-#define VER_FILEBPAD "00"\r
-#elif  (VER_FILEBUILD < 1000)\r
-#define VER_FILEBPAD "0"\r
-#else\r
-#define VER_FILEBPAD\r
-#endif\r
-\r
-#define VER_FILEVERSION                        VER_FILEMAJORVERSION,\\r
-                                                               VER_FILEMINORVERSION,\\r
-                                                               VER_FILEBUILD,\\r
-                                                               VER_FILEREV\r
-\r
-#define VER_FILEVERSION_STR2(M,m,b,r)  #M "." #m "." VER_FILEBPAD #b "." #r\r
-#define VER_FILEVERSION_STR1(M,m,b,r)  VER_FILEVERSION_STR2(M,m,b,r)\r
-#define VER_FILEVERSION_STR            VER_FILEVERSION_STR1( VER_FILEMAJORVERSION, \\r
-                                                                                                       VER_FILEMINORVERSION, \\r
-                                                                                                       VER_FILEBUILD, \\r
-                                                                                                       VER_FILEREV )\r
-\r
-#undef __BUILDMACHINE__\r
-\r
-#ifdef VER_COMPANYNAME_STR\r
-#undef VER_COMPANYNAME_STR\r
-#endif\r
-#define VER_COMPANYNAME_STR            "SilverStorm Technologies"\r
-\r
-#ifdef VER_PRODUCTNAME_STR\r
-#undef VER_PRODUCTNAME_STR\r
-#endif\r
-#define VER_PRODUCTNAME_STR            "SilverStorm HCA 7000/9000"\r
-\r
-#define VER_LEGALCOPYRIGHT_STR "Copyright\xa9 2005 SilverStorm Technologies"\r
diff --git a/trunk/inc/oib_ver.h b/trunk/inc/oib_ver.h
new file mode 100644 (file)
index 0000000..7d3caf2
--- /dev/null
@@ -0,0 +1,86 @@
+/*\r
+ * Copyright (c) 2005 SilverStorm Technologies.  All rights reserved.\r
+ *\r
+ * This software is available to you under the OpenIB.org BSD license\r
+ * below:\r
+ *\r
+ *     Redistribution and use in source and binary forms, with or\r
+ *     without modification, are permitted provided that the following\r
+ *     conditions are met:\r
+ *\r
+ *      - Redistributions of source code must retain the above\r
+ *        copyright notice, this list of conditions and the following\r
+ *        disclaimer.\r
+ *\r
+ *      - Redistributions in binary form must reproduce the above\r
+ *        copyright notice, this list of conditions and the following\r
+ *        disclaimer in the documentation and/or other materials\r
+ *        provided with the distribution.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\r
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\r
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r
+ * SOFTWARE.\r
+ *\r
+ * $Id$\r
+ */\r
+\r
+\r
+#include <windows.h>\r
+#include <ntverp.h>\r
+\r
+#ifndef VER_FILEMAJORVERSION\r
+#define VER_FILEMAJORVERSION           1\r
+#endif\r
+\r
+#ifndef VER_FILEMINORVERSION\r
+#define VER_FILEMINORVERSION           0\r
+#endif\r
+\r
+#ifndef VER_FILEBUILD\r
+#define VER_FILEBUILD                          VER_OPENIB\r
+#endif\r
+\r
+#ifndef VER_FILEREV\r
+#define VER_FILEREV                                    0\r
+#endif\r
+\r
+#if            (VER_FILEBUILD < 10)\r
+#define VER_FILEBPAD "000"\r
+#elif  (VER_FILEBUILD < 100)\r
+#define VER_FILEBPAD "00"\r
+#elif  (VER_FILEBUILD < 1000)\r
+#define VER_FILEBPAD "0"\r
+#else\r
+#define VER_FILEBPAD\r
+#endif\r
+\r
+#define VER_FILEVERSION                        VER_FILEMAJORVERSION,\\r
+                                                               VER_FILEMINORVERSION,\\r
+                                                               VER_FILEBUILD,\\r
+                                                               VER_FILEREV\r
+\r
+#define VER_FILEVERSION_STR2(M,m,b,r)  #M "." #m "." VER_FILEBPAD #b "." #r\r
+#define VER_FILEVERSION_STR1(M,m,b,r)  VER_FILEVERSION_STR2(M,m,b,r)\r
+#define VER_FILEVERSION_STR            VER_FILEVERSION_STR1( VER_FILEMAJORVERSION, \\r
+                                                                                                       VER_FILEMINORVERSION, \\r
+                                                                                                       VER_FILEBUILD, \\r
+                                                                                                       VER_FILEREV )\r
+\r
+#undef __BUILDMACHINE__\r
+\r
+#ifdef VER_COMPANYNAME_STR\r
+#undef VER_COMPANYNAME_STR\r
+#endif\r
+#define VER_COMPANYNAME_STR            "OpenIB Alliance"\r
+\r
+#ifdef VER_PRODUCTNAME_STR\r
+#undef VER_PRODUCTNAME_STR\r
+#endif\r
+#define VER_PRODUCTNAME_STR            "OpenIB Windows"\r
+\r
+#define VER_LEGALCOPYRIGHT_STR "Copyright\xa9 2005 OpenIB Alliance"\r
diff --git a/trunk/inc/openib.def b/trunk/inc/openib.def
new file mode 100644 (file)
index 0000000..76cebec
--- /dev/null
@@ -0,0 +1,3 @@
+!INCLUDE $(NTMAKEENV)\makefile.def\r
+\r
+C_DEFINES=$(C_DEFINES) -DVER_OPENIB="$(VER_OPENIB)"\r
index d638045fdfb5e1136bbf911e0f9ffa296b31d2c5..0b0ca48186f008ad4e25ca8b53cb8acab2e96f57 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 5a7e8b31b0b07e3751c3a29a494f648ee8ae5130..389156fd2c7f52c1116a6639091f56ab1aeadffc 100644 (file)
@@ -1,2 +1,2 @@
-DIRS=\
-       user
+DIRS=\\r
+       user\r
index 58189757d61c2c805ec47a954e17e83d8f54e0bd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
-#
-# DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source
-# file to this component.  This file merely indirects to the real make file
-# that is shared by all the driver components of the Windows NT DDK
-#
-
-!INCLUDE $(NTMAKEENV)\makefile.def
+#\r
+# DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
+# file to this component.  This file merely indirects to the real make file\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
+#\r
+\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 0bd0bfcf0824c95b12056cceddf056f9fe90d06b..19a9103b7684820cf0c0f37cda01508944ee0d5c 100644 (file)
@@ -1,47 +1,47 @@
-/*
- * Copyright (c) 2005 Mellanox Technologies.  All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-#include <ics_ver.h>
-
-#define VER_FILETYPE                           VFT_APP
-#define VER_FILESUBTYPE                                VFT2_UNKNOWN
-
-#ifdef _DEBUG_
-#define VER_FILEDESCRIPTION_STR                "HCA Status Report Application (Debug)"
-#else
-#define VER_FILEDESCRIPTION_STR                "HCA Status Report Application"
-#endif
-
-#define VER_INTERNALNAME_STR           "vstat.exe"
-#define VER_ORIGINALFILENAME_STR       "vstat.exe"
-
-#include <common.ver>
+/*\r
+ * Copyright (c) 2005 Mellanox Technologies.  All rights reserved.\r
+ *\r
+ * This software is available to you under the OpenIB.org BSD license\r
+ * below:\r
+ *\r
+ *     Redistribution and use in source and binary forms, with or\r
+ *     without modification, are permitted provided that the following\r
+ *     conditions are met:\r
+ *\r
+ *      - Redistributions of source code must retain the above\r
+ *        copyright notice, this list of conditions and the following\r
+ *        disclaimer.\r
+ *\r
+ *      - Redistributions in binary form must reproduce the above\r
+ *        copyright notice, this list of conditions and the following\r
+ *        disclaimer in the documentation and/or other materials\r
+ *        provided with the distribution.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\r
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\r
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r
+ * SOFTWARE.\r
+ *\r
+ * $Id$\r
+ */\r
+\r
+\r
+#include <oib_ver.h>\r
+\r
+#define VER_FILETYPE                           VFT_APP\r
+#define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
+\r
+#ifdef _DEBUG_\r
+#define VER_FILEDESCRIPTION_STR                "HCA Status Report Application (Debug)"\r
+#else\r
+#define VER_FILEDESCRIPTION_STR                "HCA Status Report Application"\r
+#endif\r
+\r
+#define VER_INTERNALNAME_STR           "vstat.exe"\r
+#define VER_ORIGINALFILENAME_STR       "vstat.exe"\r
+\r
+#include <common.ver>\r
index c31fcb31a71db256a26dd04dbdcee8740c2c0dc2..8111f08dacff7b3778c9c7d305522387ceca94a7 100644 (file)
@@ -45,9 +45,9 @@
 \r
 /* Initialize the LSP's provider path for Infiband Service Provider dll */\r
 static const WCHAR *provider_path = L"%SYSTEMROOT%\\system32\\ibwsd.dll";\r
-static const WCHAR *provider_name = L"SilverStorm Winsock Direct for InfiniBand";\r
+static const WCHAR *provider_name = L"OpenIB Winsock Direct for InfiniBand";\r
 static const char *winsock_key_path = "System\\CurrentControlSet\\Services\\Winsock\\Parameters\\TCP on SAN";\r
-static const char *silverstorm_key_name = "SilverStorm InfiniBand";\r
+static const char *openib_key_name = "OpenIB Alliance";\r
 \r
 /* Unique provider GUID generated with "uuidgen -s" */\r
 static GUID provider_guid = {\r
@@ -68,9 +68,10 @@ static void
 usage (char *progname)\r
 {\r
        printf ("usage: %s [-i/-r]\n", progname);\r
-       printf ("       -i   Install the service provider\n"\r
-                       "       -r   Remove the service provider\n"\r
-                       "       -l   List service providers\n");\r
+       printf ("    -i   Install the service provider\n"\r
+                       "    -r   Remove the OpenIB service provider\n"\r
+                       "    -r <name>   Remove the specified service provider\n"\r
+                       "    -l   List service providers\n");\r
 }\r
 \r
 \r
@@ -147,7 +148,7 @@ static void install_provider(void)
                REG_OPTION_NON_VOLATILE, (KEY_WRITE | KEY_READ), NULL, &hkey, NULL );\r
        if( reg_error == ERROR_SUCCESS )\r
        {\r
-               reg_error = RegSetValueEx( hkey, silverstorm_key_name, 0, REG_BINARY,\r
+               reg_error = RegSetValueEx( hkey, openib_key_name, 0, REG_BINARY,\r
                        (PBYTE)&provider_guid, sizeof(GUID) );\r
                if( reg_error == ERROR_SUCCESS )\r
                {\r
@@ -207,7 +208,7 @@ static void install_provider(void)
  * Function: remove_provider\r
  *   Description: removes our provider.\r
  */\r
-static void remove_provider(void)\r
+static void remove_provider( const char* const provider_name )\r
 {\r
        int rc;\r
        int errno;\r
@@ -222,7 +223,7 @@ static void remove_provider(void)
                                                         &hkey);\r
        if (reg_error == ERROR_SUCCESS) {\r
 \r
-               reg_error = RegDeleteValue(hkey, silverstorm_key_name);\r
+               reg_error = RegDeleteValue(hkey, provider_name);\r
                if (reg_error == ERROR_SUCCESS) {\r
                        /* Force the system to remove the key now. */\r
                        RegFlushKey(hkey);\r
@@ -276,7 +277,7 @@ int __cdecl main (int argc, char *argv[])
                        ("InstallSP: Unable to find a usable version of Winsock DLL\n");\r
                return -1;\r
        }\r
-       if (argc != 2) {\r
+       if (argc < 2) {\r
                usage (argv[0]);\r
                return -1;\r
        }\r
@@ -294,7 +295,10 @@ int __cdecl main (int argc, char *argv[])
 \r
        case 'r':\r
                /* Remove the service provider */\r
-               remove_provider ();\r
+               if( argc == 2 )\r
+                       remove_provider( openib_key_name );\r
+               else\r
+                       remove_provider( argv[2] );\r
                break;\r
 \r
        case 'l':\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..a0c062738d0f515cf8ff058257ea466b25b9f995 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..a0c062738d0f515cf8ff058257ea466b25b9f995 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..d4938551c5f7c57a91b21e870026b63b107cddc5 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\..\..\inc\openib.def\r
index 75d677acaecd603f18edbdc476c02bcca2d8446f..87be05535405fab23023e8c1cfda3c61332ac4f1 100644 (file)
@@ -1,6 +1,6 @@
 DIRS=\\r
+       opensm  \\r
        dapl    \\r
        ipoib   \\r
-       srp     \\r
-       opensm  \\r
+       srp             \\r
        wsd\r
index 393a43fdb764027f5a19cf2c9c99b1f69c13ede8..9d04836f2840ac13499680e01f6355842114d2b1 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..a0c062738d0f515cf8ff058257ea466b25b9f995 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\..\inc\openib.def\r
index 588b227a678fbabd95a4217d7346d728eabdd122..525ef064b8ab3988330377608fefad28ff2799b2 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_APP\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index ed41dcf407f9f3e6e885f3024236d66b4100297b..ddf0ed7df3543dba244a417789c55225e1b97de4 100644 (file)
@@ -1,2 +1,3 @@
 DIRS=\\r
+       user    \\r
        kernel\r
index f10c7f320b2377cd0e9119174eef85d67b03c0f9..5de864e8d6775e0ce8089b62990557907b5448f3 100644 (file)
@@ -30,7 +30,7 @@
  */\r
 \r
 \r
-#include <ics_ver.h>\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DRV\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r
index a752aae0ab138615ba5b92dd4dfb9bf7e450591e..3cbc9d8e23fe9c20714978a8d740e571c6b5297c 100644 (file)
@@ -29,7 +29,8 @@
  * $Id$\r
  */\r
 \r
-#include <ics_ver.h>\r
+\r
+#include <oib_ver.h>\r
 \r
 #define VER_FILETYPE                           VFT_DLL\r
 #define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
index 9c985f57bc6a7c054e47a7b8a63af4dca9ce53dd..bffacaa789141ac8b2caa84b6a882375fa996be2 100644 (file)
@@ -1,7 +1,7 @@
 #\r
 # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source\r
 # file to this component.  This file merely indirects to the real make file\r
-# that is shared by all the driver components of the Windows NT DDK\r
+# that is shared by all the driver components of the OpenIB Windows project.\r
 #\r
 \r
-!INCLUDE $(NTMAKEENV)\makefile.def\r
+!INCLUDE ..\..\..\inc\openib.def\r