[HW] make all the drivers to be boot driver. [mlnx: 4278]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 3 May 2009 13:07:20 +0000 (13:07 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 3 May 2009 13:07:20 +0000 (13:07 +0000)
Also registry “StaticChild” should not be changed after driver update if it’s modified.

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

hw/mlx4/kernel/hca/mlx4_hca.inx
hw/mthca/kernel/mthca.inx

index 35f88fa..db7765d 100644 (file)
@@ -246,7 +246,7 @@ winmadd.dll,,,2
 [MLX4HCA.ServiceInstall]\r
 DisplayName     = %MLX4HCA.ServiceDesc%\r
 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
-StartType       = %SERVICE_DEMAND_START%\r
+StartType       = %SERVICE_BOOT_START%\r
 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary   = %12%\mlx4_hca.sys\r
 LoadOrderGroup  = extended base\r
@@ -275,7 +275,7 @@ HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\F8C96A49-AE22-41e9-8025-
 [Ibbus.ServiceInstall]\r
 DisplayName     = %Ibbus.ServiceDesc%\r
 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
-StartType       = %SERVICE_DEMAND_START%\r
+StartType       = %SERVICE_BOOT_START%\r
 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary   = %12%\ibbus.sys\r
 LoadOrderGroup  = PnP Filter\r
@@ -292,7 +292,7 @@ HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000
 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x80000000\r
 HKR,"Parameters","ReportPortNIC",%REG_DWORD%,1\r
 \r
-HKR,"Parameters","StaticChild",%REG_MULTI_SZ%,IPoIB\r
+HKR,"Parameters","StaticChild",%REG_MULTI_SZ_NO_CLOBBER%,IPoIB\r
 ;use the following line to add your device\r
 ;HKR,"Parameters","StaticChild",%REG_MULTI_SZ_APPEND%,"XsigoBus"\r
 \r
@@ -315,7 +315,7 @@ HKR,"Parameters\XsigoBus","PartitionKey",%REG_SZ%,"FFFF"
 [WinVerbs.ServiceInstall]\r
 DisplayName = %WinVerbs.ServiceDesc%\r
 ServiceType = %SERVICE_KERNEL_DRIVER%\r
-StartType = %SERVICE_DEMAND_START%\r
+StartType = %SERVICE_BOOT_START%\r
 ErrorControl = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary  = %12%\winverbs.sys\r
 LoadOrderGroup = PNP Filter\r
@@ -328,7 +328,7 @@ Dependencies   = ibbus
 [WinMad.ServiceInstall]\r
 DisplayName = %WinMad.ServiceDesc%\r
 ServiceType = %SERVICE_KERNEL_DRIVER%\r
-StartType = %SERVICE_DEMAND_START%\r
+StartType = %SERVICE_BOOT_START%\r
 ErrorControl = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary  = %12%\winmad.sys\r
 LoadOrderGroup = PNP Filter\r
@@ -455,6 +455,7 @@ SERVICE_ERROR_NORMAL   = 1
 REG_DWORD              = 0x00010001\r
 REG_DWORD_NO_CLOBBER   = 0x00010003\r
 REG_MULTI_SZ          = 0x00010000\r
+REG_MULTI_SZ_NO_CLOBBER = 0x00010002\r
 REG_MULTI_SZ_APPEND    = 0x00010008\r
 DIRID_SYSTEM           = 11\r
 DIRID_DRIVERS          = 12\r
index 14b64f5..33224cf 100644 (file)
@@ -256,7 +256,7 @@ winmadd.dll,,,2
 [MTHCA.ServiceInstall]\r
 DisplayName     = %MTHCA.ServiceDesc%\r
 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
-StartType       = %SERVICE_DEMAND_START%\r
+StartType       = %SERVICE_BOOT_START%\r
 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary   = %12%\mthca.sys\r
 LoadOrderGroup  = extended base\r
@@ -289,7 +289,7 @@ HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\8bf1f640-63fe-4743-b9ef-
 [Ibbus.ServiceInstall]\r
 DisplayName     = %Ibbus.ServiceDesc%\r
 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
-StartType       = %SERVICE_DEMAND_START%\r
+StartType       = %SERVICE_BOOT_START%\r
 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary   = %12%\ibbus.sys\r
 LoadOrderGroup  = PnP Filter\r
@@ -306,7 +306,7 @@ HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000
 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x80000000\r
 HKR,"Parameters","ReportPortNIC",%REG_DWORD%,1\r
 \r
-HKR,"Parameters","StaticChild",%REG_MULTI_SZ%,IPoIB\r
+HKR,"Parameters","StaticChild",%REG_MULTI_SZ_NO_CLOBBER%,IPoIB\r
 ;use the following line to add your device\r
 ;HKR,"Parameters","StaticChild",%REG_MULTI_SZ_APPEND%,"XsigoBus"\r
 \r
@@ -327,7 +327,7 @@ HKR,"Parameters\XsigoBus","PartitionKey",%REG_SZ%,"FFFF"
 [WinVerbs.ServiceInstall]\r
 DisplayName = %WinVerbs.ServiceDesc%\r
 ServiceType = %SERVICE_KERNEL_DRIVER%\r
-StartType = %SERVICE_DEMAND_START%\r
+StartType = %SERVICE_BOOT_START%\r
 ErrorControl = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary  = %12%\winverbs.sys\r
 LoadOrderGroup = PNP Filter\r
@@ -338,7 +338,7 @@ Dependencies   = ibbus
 [WinMad.ServiceInstall]\r
 DisplayName = %WinMad.ServiceDesc%\r
 ServiceType = %SERVICE_KERNEL_DRIVER%\r
-StartType = %SERVICE_DEMAND_START%\r
+StartType = %SERVICE_BOOT_START%\r
 ErrorControl = %SERVICE_ERROR_NORMAL%\r
 ServiceBinary  = %12%\winmad.sys\r
 LoadOrderGroup = PNP Filter\r
@@ -464,6 +464,7 @@ SERVICE_ERROR_NORMAL   = 1
 REG_DWORD              = 0x00010001\r
 REG_DWORD_NO_CLOBBER   = 0x00010003\r
 REG_MULTI_SZ          = 0x00010000\r
+REG_MULTI_SZ_NO_CLOBBER = 0x00010002\r
 REG_MULTI_SZ_APPEND    = 0x00010008\r
 DIRID_SYSTEM           = 11\r
 DIRID_DRIVERS          = 12\r