*/\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
#\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
*/\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
#\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
*/\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
#\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
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
\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
+++ /dev/null
-/*\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
*/\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
#\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
*/\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
#\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
#\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
*/\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
#\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
*/\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
#\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
*/\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
+++ /dev/null
-/*\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
--- /dev/null
+/*\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
--- /dev/null
+!INCLUDE $(NTMAKEENV)\makefile.def\r
+\r
+C_DEFINES=$(C_DEFINES) -DVER_OPENIB="$(VER_OPENIB)"\r
*/\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
#\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
#\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
#\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
#\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
-DIRS=\
- user
+DIRS=\\r
+ user\r
-#
-# 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
-/*
- * 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
\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
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
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
* 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
&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
("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
\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
#\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
#\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
#\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
#\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
DIRS=\\r
+ opensm \\r
dapl \\r
ipoib \\r
- srp \\r
- opensm \\r
+ srp \\r
wsd\r
*/\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
#\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
#\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
*/\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
DIRS=\\r
+ user \\r
kernel\r
*/\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
#\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
* $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
#\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