TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)\r
TARGETTYPE=DRIVER\r
\r
+!if $(_NT_TOOLS_VERSION) != 0x700\r
+# WDK build only - transform .inx --> .inf adding date & version stamp.\r
+# see .\makefile.inc\r
+INF_NAME=netipoib\r
+INF_TARGET=..\..\..\bin\kernel\$(O)\$(INF_NAME).inf\r
+NTTARGETFILES=$(INF_TARGET)\r
+!endif\r
\r
!if $(FREEBUILD)\r
ENABLE_EVENT_TRACING=1\r
--- /dev/null
+\r
+# Transform .inx file to .inf file adding date + major,min & svn.version stamp\r
+# Output .inf file is copied to the $(INF_TARGET) folder (commonly where .sys file resides).\r
+\r
+_LNG=$(LANGUAGE)\r
+\r
+!IF !DEFINED(_INX)\r
+_INX=.\r
+!ENDIF\r
+\r
+STAMP=stampinf -a $(_BUILDARCH)\r
+\r
+!INCLUDE mod_ver.def\r
+\r
+$(INF_TARGET) : $(_INX)\$(INF_NAME).inx\r
+ copy $(_INX)\$(@B).inx $@\r
+ $(STAMP) -f $@ -d * -v $(IB_MAJORVERSION).$(IB_MINORVERSION).$(IB_F3VERSION).$(OPENIB_REV)\r
+++ /dev/null
-; OpenIB Internet Protocol over InfiniBand Adapter\r
-; Copyright 2005 SilverStorm Technologies all Rights Reserved.\r
-; Copyright 2006 Mellanox Technologies all Rights Reserved.\r
-\r
-[Version]\r
-Signature = "$Windows NT$"\r
-Class = Net\r
-ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}\r
-Provider = %OPENIB%\r
-DriverVer=06/11/2008,1.0.0000.1207\r
-CatalogFile=ipoib.cat\r
-\r
-[Manufacturer]\r
-%OPENIB% = OPENIB,ntx86,ntamd64,ntia64\r
-\r
-[ControlFlags]\r
-ExcludeFromSelect = IBA\IPoIB\r
-\r
-[OPENIB]\r
-; empty since we don't support W9x/Me\r
-\r
-[OPENIB.ntx86]\r
-%IpoibDesc% = Ipoib.DDInstall, IBA\IPoIB ; Internet Protocol over InfiniBand Adapter\r
-\r
-[OPENIB.ntamd64]\r
-%IpoibDesc% = Ipoib.DDInstall, IBA\IPoIB ; Internet Protocol over InfiniBand Adapter\r
-\r
-[OPENIB.ntia64]\r
-%IpoibDesc% = Ipoib.DDInstall, IBA\IPoIB ; Internet Protocol over InfiniBand Adapter\r
-\r
-[Ipoib.DDInstall.ntx86]\r
-Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
-AddReg = IpoibAddReg\r
-CopyFiles = IpoibCopyFiles\r
-CopyFiles = WsdCopyFiles\r
-\r
-[Ipoib.DDInstall.ntamd64]\r
-Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
-AddReg = IpoibAddReg\r
-CopyFiles = IpoibCopyFiles\r
-CopyFiles = WsdCopyFiles\r
-CopyFiles = WOW64CopyFiles\r
-\r
-[Ipoib.DDInstall.ntia64]\r
-Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
-AddReg = IpoibAddReg\r
-CopyFiles = IpoibCopyFiles\r
-CopyFiles = WsdCopyFiles\r
-CopyFiles = WOW64CopyFiles\r
-\r
-[Ipoib.DDInstall.ntx86.Services]\r
-AddService = ipoib, 2, IpoibService, IpoibEventLog\r
-\r
-[Ipoib.DDInstall.ntamd64.Services]\r
-AddService = ipoib, 2, IpoibService, IpoibEventLog\r
-\r
-[Ipoib.DDInstall.ntia64.Services]\r
-AddService = ipoib, 2, IpoibService, IpoibEventLog\r
-\r
-[IpoibAddReg]\r
-HKR, Ndi, Service, 0, "ipoib"\r
-HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"\r
-HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"\r
-\r
-HKR, Ndi\Params\RqDepth, ParamDesc, 0, "Receive Queue Depth"\r
-HKR, Ndi\Params\RqDepth, Type, 0, "dword"\r
-HKR, Ndi\Params\RqDepth, Default, 0, "512"\r
-HKR, Ndi\Params\RqDepth, Optional, 0, "0"\r
-HKR, Ndi\Params\RqDepth, Min, 0, "128"\r
-HKR, Ndi\Params\RqDepth, Max, 0, "1024"\r
-HKR, Ndi\Params\RqDepth, Step, 0, "128"\r
-\r
-HKR, Ndi\Params\RqLowWatermark, ParamDesc, 0, "Receive Queue Low Watermark"\r
-HKR, Ndi\Params\RqLowWatermark, Type, 0, "dword"\r
-HKR, Ndi\Params\RqLowWatermark, Default, 0, "4"\r
-HKR, Ndi\Params\RqLowWatermark, Optional, 0, "1"\r
-HKR, Ndi\Params\RqLowWatermark, Min, 0, "2"\r
-HKR, Ndi\Params\RqLowWatermark, Max, 0, "8"\r
-HKR, Ndi\Params\RqLowWatermark, Step, 0, "1"\r
-\r
-HKR, Ndi\Params\SqDepth, ParamDesc, 0, "Send Queue Depth"\r
-HKR, Ndi\Params\SqDepth, Type, 0, "dword"\r
-HKR, Ndi\Params\SqDepth, Default, 0, "512"\r
-HKR, Ndi\Params\SqDepth, Optional, 0, "0"\r
-HKR, Ndi\Params\SqDepth, Min, 0, "128"\r
-HKR, Ndi\Params\SqDepth, Max, 0, "1024"\r
-HKR, Ndi\Params\SqDepth, Step, 0, "128"\r
-\r
-HKR, Ndi\Params\SendChksum, ParamDesc, 0, "Send Checksum Offload"\r
-HKR, Ndi\Params\SendChksum, Type, 0, "enum"\r
-HKR, Ndi\Params\SendChksum, Default, 0, "0"\r
-HKR, Ndi\Params\SendChksum, Optional, 0, "0"\r
-HKR, Ndi\Params\SendChksum\enum, "0", 0, "Disabled"\r
-HKR, Ndi\Params\SendChksum\enum, "1", 0, "Enabled"\r
-\r
-HKR, Ndi\Params\RecvChksum, ParamDesc, 0, "Recv Checksum Offload"\r
-HKR, Ndi\Params\RecvChksum, Type, 0, "enum"\r
-HKR, Ndi\Params\RecvChksum, Default, 0, "0"\r
-HKR, Ndi\Params\RecvChksum, Optional, 0, "0"\r
-HKR, Ndi\Params\RecvChksum\enum, "0", 0, "Disabled"\r
-HKR, Ndi\Params\RecvChksum\enum, "1", 0, "Enabled"\r
-\r
-HKR, Ndi\Params\SaTimeout, ParamDesc, 0, "SA Query Timeout (ms)"\r
-HKR, Ndi\Params\SaTimeout, Type, 0, "dword"\r
-HKR, Ndi\Params\SaTimeout, Default, 0, "1000"\r
-HKR, Ndi\Params\SaTimeout, Optional, 0, "0"\r
-HKR, Ndi\Params\SaTimeout, Min, 0, "500"\r
-HKR, Ndi\Params\SaTimeout, Step, 0, "250"\r
-\r
-HKR, Ndi\Params\SaRetries, ParamDesc, 0, "SA Query Retry Count"\r
-HKR, Ndi\Params\SaRetries, Type, 0, "dword"\r
-HKR, Ndi\Params\SaRetries, Default, 0, "10"\r
-HKR, Ndi\Params\SaRetries, Optional, 0, "0"\r
-HKR, Ndi\Params\SaRetries, Min, 0, "1"\r
-\r
-HKR, Ndi\Params\RecvRatio, ParamDesc, 0, "Receive Pool Ratio"\r
-HKR, Ndi\Params\RecvRatio, Type, 0, "dword"\r
-HKR, Ndi\Params\RecvRatio, Default, 0, "1"\r
-HKR, Ndi\Params\RecvRatio, Optional, 0, "0"\r
-HKR, Ndi\Params\RecvRatio, Min, 0, "1"\r
-HKR, Ndi\Params\RecvRatio, Max, 0, "10"\r
-\r
-HKR, Ndi\Params\PayloadMtu, ParamDesc, 0, "Payload Mtu size"\r
-HKR, Ndi\Params\PayloadMtu, Type, 0, "dword"\r
-HKR, Ndi\Params\PayloadMtu, Default, 0, "2044"\r
-HKR, Ndi\Params\PayloadMtu, Min, 0, "60"\r
-HKR, Ndi\Params\PayloadMtu, Max, 0, "4092"\r
-\r
-[IpoibService]\r
-DisplayName = %IpoibServiceDispName%\r
-ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%\r
-StartType = 3 ;%SERVICE_DEMAND_START%\r
-ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%\r
-ServiceBinary = %12%\ipoib.sys\r
-LoadOrderGroup = NDIS\r
-AddReg = Ipoib.ParamsReg\r
-\r
-[Ipoib.ParamsReg]\r
-HKR,"Parameters","DebugLevel",%REG_DWORD_NO_CLOBBER%,0x00000002\r
-HKR,"Parameters","DebugFlags",%REG_DWORD_NO_CLOBBER%,0x00000fff\r
-HKR,"Parameters","bypass_check_bcast_rate",%REG_DWORD_NO_CLOBBER%,0x00000000\r
-\r
-[IpoibEventLog]\r
-AddReg = IpoibAddEventLogReg\r
-\r
-[IpoibAddEventLogReg]\r
-HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll;%%SystemRoot%%\System32\drivers\ipoib.sys"\r
-HKR, , TypesSupported, 0x00010001, 7\r
-\r
-\r
-[IpoibCopyFiles]\r
-ipoib.sys,,,2\r
-\r
-[WsdCopyFiles]\r
-ibwsd.dll,,,0x00000002\r
-\r
-[WOW64CopyFiles]\r
-ibwsd.dll,ibwsd32.dll,,0x00000002\r
-\r
-[SourceDisksNames.x86]\r
-1 = %IcsDisk1%,,,""\r
-\r
-[SourceDisksNames.amd64]\r
-1 = %IcsDisk1%,,,""\r
-\r
-[SourceDisksNames.ia64]\r
-1 = %IcsDisk1%,,,""\r
-\r
-[SourceDisksFiles.x86]\r
-ipoib.sys = 1\r
-ibwsd.dll = 1\r
-\r
-[SourceDisksFiles.amd64]\r
-ipoib.sys = 1\r
-ibwsd.dll = 1\r
-ibwsd32.dll = 1\r
-\r
-[SourceDisksFiles.ia64]\r
-ipoib.sys = 1\r
-ibwsd.dll = 1\r
-ibwsd32.dll = 1\r
-\r
-[DestinationDirs]\r
-IpoibCopyFiles = %DIRID_DRIVERS%\r
-WsdCopyFiles = %DIRID_SYSTEM%\r
-WOW64CopyFiles = %DIRID_SYSTEM_X86%\r
-DefaultDestDir = %DIRID_SYSTEM%\r
-\r
-[Strings]\r
-OPENIB = "OpenIB Alliance"\r
-IpoibDesc = "OpenIB IPoIB Adapter"\r
-IpoibServiceDispName = "IPoIB"\r
-IcsDisk1 = "OpenIB IPoIB Disk #1"\r
-DIRID_SYSTEM = 11\r
-DIRID_DRIVERS = 12\r
-DIRID_SYSTEM_X86 = 16425\r
-REG_DWORD_NO_CLOBBER = 0x00010003\r
--- /dev/null
+; OpenIB Internet Protocol over InfiniBand Adapter\r
+; Copyright 2005 SilverStorm Technologies all Rights Reserved.\r
+; Copyright 2006 Mellanox Technologies all Rights Reserved.\r
+\r
+[Version]\r
+Signature = "$Windows NT$"\r
+Class = Net\r
+ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}\r
+Provider = %OPENIB%\r
+DriverVer=06/11/2008,1.0.0000.1207\r
+CatalogFile=ipoib.cat\r
+\r
+[Manufacturer]\r
+%OPENIB% = OPENIB,ntx86,ntamd64,ntia64\r
+\r
+[ControlFlags]\r
+ExcludeFromSelect = IBA\IPoIB\r
+\r
+[OPENIB]\r
+; empty since we don't support W9x/Me\r
+\r
+[OPENIB.ntx86]\r
+%IpoibDesc% = Ipoib.DDInstall, IBA\IPoIB ; Internet Protocol over InfiniBand Adapter\r
+\r
+[OPENIB.ntamd64]\r
+%IpoibDesc% = Ipoib.DDInstall, IBA\IPoIB ; Internet Protocol over InfiniBand Adapter\r
+\r
+[OPENIB.ntia64]\r
+%IpoibDesc% = Ipoib.DDInstall, IBA\IPoIB ; Internet Protocol over InfiniBand Adapter\r
+\r
+[Ipoib.DDInstall.ntx86]\r
+Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
+AddReg = IpoibAddReg\r
+CopyFiles = IpoibCopyFiles\r
+CopyFiles = WsdCopyFiles\r
+\r
+[Ipoib.DDInstall.ntamd64]\r
+Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
+AddReg = IpoibAddReg\r
+CopyFiles = IpoibCopyFiles\r
+CopyFiles = WsdCopyFiles\r
+CopyFiles = WOW64CopyFiles\r
+\r
+[Ipoib.DDInstall.ntia64]\r
+Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
+AddReg = IpoibAddReg\r
+CopyFiles = IpoibCopyFiles\r
+CopyFiles = WsdCopyFiles\r
+CopyFiles = WOW64CopyFiles\r
+\r
+[Ipoib.DDInstall.ntx86.Services]\r
+AddService = ipoib, 2, IpoibService, IpoibEventLog\r
+\r
+[Ipoib.DDInstall.ntamd64.Services]\r
+AddService = ipoib, 2, IpoibService, IpoibEventLog\r
+\r
+[Ipoib.DDInstall.ntia64.Services]\r
+AddService = ipoib, 2, IpoibService, IpoibEventLog\r
+\r
+[IpoibAddReg]\r
+HKR, Ndi, Service, 0, "ipoib"\r
+HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"\r
+HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"\r
+\r
+HKR, Ndi\Params\RqDepth, ParamDesc, 0, "Receive Queue Depth"\r
+HKR, Ndi\Params\RqDepth, Type, 0, "dword"\r
+HKR, Ndi\Params\RqDepth, Default, 0, "512"\r
+HKR, Ndi\Params\RqDepth, Optional, 0, "0"\r
+HKR, Ndi\Params\RqDepth, Min, 0, "128"\r
+HKR, Ndi\Params\RqDepth, Max, 0, "1024"\r
+HKR, Ndi\Params\RqDepth, Step, 0, "128"\r
+\r
+HKR, Ndi\Params\RqLowWatermark, ParamDesc, 0, "Receive Queue Low Watermark"\r
+HKR, Ndi\Params\RqLowWatermark, Type, 0, "dword"\r
+HKR, Ndi\Params\RqLowWatermark, Default, 0, "4"\r
+HKR, Ndi\Params\RqLowWatermark, Optional, 0, "1"\r
+HKR, Ndi\Params\RqLowWatermark, Min, 0, "2"\r
+HKR, Ndi\Params\RqLowWatermark, Max, 0, "8"\r
+HKR, Ndi\Params\RqLowWatermark, Step, 0, "1"\r
+\r
+HKR, Ndi\Params\SqDepth, ParamDesc, 0, "Send Queue Depth"\r
+HKR, Ndi\Params\SqDepth, Type, 0, "dword"\r
+HKR, Ndi\Params\SqDepth, Default, 0, "512"\r
+HKR, Ndi\Params\SqDepth, Optional, 0, "0"\r
+HKR, Ndi\Params\SqDepth, Min, 0, "128"\r
+HKR, Ndi\Params\SqDepth, Max, 0, "1024"\r
+HKR, Ndi\Params\SqDepth, Step, 0, "128"\r
+\r
+HKR, Ndi\Params\SendChksum, ParamDesc, 0, "Send Checksum Offload"\r
+HKR, Ndi\Params\SendChksum, Type, 0, "enum"\r
+HKR, Ndi\Params\SendChksum, Default, 0, "0"\r
+HKR, Ndi\Params\SendChksum, Optional, 0, "0"\r
+HKR, Ndi\Params\SendChksum\enum, "0", 0, "Disabled"\r
+HKR, Ndi\Params\SendChksum\enum, "1", 0, "Enabled"\r
+\r
+HKR, Ndi\Params\RecvChksum, ParamDesc, 0, "Recv Checksum Offload"\r
+HKR, Ndi\Params\RecvChksum, Type, 0, "enum"\r
+HKR, Ndi\Params\RecvChksum, Default, 0, "0"\r
+HKR, Ndi\Params\RecvChksum, Optional, 0, "0"\r
+HKR, Ndi\Params\RecvChksum\enum, "0", 0, "Disabled"\r
+HKR, Ndi\Params\RecvChksum\enum, "1", 0, "Enabled"\r
+\r
+HKR, Ndi\Params\SaTimeout, ParamDesc, 0, "SA Query Timeout (ms)"\r
+HKR, Ndi\Params\SaTimeout, Type, 0, "dword"\r
+HKR, Ndi\Params\SaTimeout, Default, 0, "1000"\r
+HKR, Ndi\Params\SaTimeout, Optional, 0, "0"\r
+HKR, Ndi\Params\SaTimeout, Min, 0, "500"\r
+HKR, Ndi\Params\SaTimeout, Step, 0, "250"\r
+\r
+HKR, Ndi\Params\SaRetries, ParamDesc, 0, "SA Query Retry Count"\r
+HKR, Ndi\Params\SaRetries, Type, 0, "dword"\r
+HKR, Ndi\Params\SaRetries, Default, 0, "10"\r
+HKR, Ndi\Params\SaRetries, Optional, 0, "0"\r
+HKR, Ndi\Params\SaRetries, Min, 0, "1"\r
+\r
+HKR, Ndi\Params\RecvRatio, ParamDesc, 0, "Receive Pool Ratio"\r
+HKR, Ndi\Params\RecvRatio, Type, 0, "dword"\r
+HKR, Ndi\Params\RecvRatio, Default, 0, "1"\r
+HKR, Ndi\Params\RecvRatio, Optional, 0, "0"\r
+HKR, Ndi\Params\RecvRatio, Min, 0, "1"\r
+HKR, Ndi\Params\RecvRatio, Max, 0, "10"\r
+\r
+HKR, Ndi\Params\PayloadMtu, ParamDesc, 0, "Payload Mtu size"\r
+HKR, Ndi\Params\PayloadMtu, Type, 0, "dword"\r
+HKR, Ndi\Params\PayloadMtu, Default, 0, "2044"\r
+HKR, Ndi\Params\PayloadMtu, Min, 0, "60"\r
+HKR, Ndi\Params\PayloadMtu, Max, 0, "2044"\r
+\r
+[IpoibService]\r
+DisplayName = %IpoibServiceDispName%\r
+ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%\r
+StartType = 3 ;%SERVICE_DEMAND_START%\r
+ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%\r
+ServiceBinary = %12%\ipoib.sys\r
+LoadOrderGroup = NDIS\r
+AddReg = Ipoib.ParamsReg\r
+\r
+[Ipoib.ParamsReg]\r
+HKR,"Parameters","DebugLevel",%REG_DWORD_NO_CLOBBER%,0x00000002\r
+HKR,"Parameters","DebugFlags",%REG_DWORD_NO_CLOBBER%,0x00000fff\r
+HKR,"Parameters","bypass_check_bcast_rate",%REG_DWORD_NO_CLOBBER%,0x00000000\r
+\r
+[IpoibEventLog]\r
+AddReg = IpoibAddEventLogReg\r
+\r
+[IpoibAddEventLogReg]\r
+HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll;%%SystemRoot%%\System32\drivers\ipoib.sys"\r
+HKR, , TypesSupported, 0x00010001, 7\r
+\r
+\r
+[IpoibCopyFiles]\r
+ipoib.sys,,,2\r
+\r
+[WsdCopyFiles]\r
+ibwsd.dll,,,0x00000002\r
+\r
+[WOW64CopyFiles]\r
+ibwsd.dll,ibwsd32.dll,,0x00000002\r
+\r
+[SourceDisksNames.x86]\r
+1 = %IcsDisk1%,,,""\r
+\r
+[SourceDisksNames.amd64]\r
+1 = %IcsDisk1%,,,""\r
+\r
+[SourceDisksNames.ia64]\r
+1 = %IcsDisk1%,,,""\r
+\r
+[SourceDisksFiles.x86]\r
+ipoib.sys = 1\r
+ibwsd.dll = 1\r
+\r
+[SourceDisksFiles.amd64]\r
+ipoib.sys = 1\r
+ibwsd.dll = 1\r
+ibwsd32.dll = 1\r
+\r
+[SourceDisksFiles.ia64]\r
+ipoib.sys = 1\r
+ibwsd.dll = 1\r
+ibwsd32.dll = 1\r
+\r
+[DestinationDirs]\r
+IpoibCopyFiles = %DIRID_DRIVERS%\r
+WsdCopyFiles = %DIRID_SYSTEM%\r
+WOW64CopyFiles = %DIRID_SYSTEM_X86%\r
+DefaultDestDir = %DIRID_SYSTEM%\r
+\r
+[Strings]\r
+OPENIB = "OpenIB Alliance"\r
+IpoibDesc = "OpenIB IPoIB Adapter"\r
+IpoibServiceDispName = "IPoIB"\r
+IcsDisk1 = "OpenIB IPoIB Disk #1"\r
+DIRID_SYSTEM = 11\r
+DIRID_DRIVERS = 12\r
+DIRID_SYSTEM_X86 = 16425\r
+REG_DWORD_NO_CLOBBER = 0x00010003\r