[ofw][patch] fix mlx4 inf locations in makebin.bat

Anatoly Greenblatt anatolyg at voltaire.com
Tue Aug 5 01:38:21 PDT 2008


 <<fix_mlx4_inf_location.patch>> Hi,

This fixes makebin to copy mlx4_bus.inf and mlx4_hca.inf from their new
location.

Regards,
Anatoly.

Index: makebin.bat
===================================================================
--- makebin.bat	(revision 1465)
+++ makebin.bat	(working copy)
@@ -58,7 +58,7 @@
 
 if "%DBG%" == "TRUE" echo DBG: AMD64 free drivers to %dest_dir%
 
-set F=ibbus.sys ib_bus.inf ibiou.sys mthca.sys mthca.inf mlx4_hca.sys
mlx4_bus.sys 
+set F=ibbus.sys ib_bus.inf ibiou.sys mthca.sys mthca.inf mlx4_hca.sys
mlx4_hca.inf mlx4_bus.sys mlx4_bus.inf
 for %%i in ( %F% ) do (
     xcopy %bin_dir%\%%i %dest_dir% /yq 1> nul
     if ERRORLEVEL 1 (
@@ -109,7 +109,7 @@
 set bin_dir=%1\bin\kernel\objfre_%OSE%_x86\i386
 set dest_dir=%2\HCA\x86\
 
-set F=ibbus.sys ib_bus.inf ibiou.sys mthca.sys mthca.inf mlx4_hca.sys
mlx4_bus.sys
+set F=ibbus.sys ib_bus.inf ibiou.sys mthca.sys mthca.inf mlx4_hca.sys
mlx4_hca.inf mlx4_bus.sys mlx4_bus.inf
 for %%i in ( %F% ) do (
     xcopy %bin_dir%\%%i %dest_dir% /yq 1>nul
     if ERRORLEVEL 1 (
@@ -513,11 +513,8 @@
 if "%DBG%" == "TRUE" echo DBG: cpy %OSE% x86 INF files
 
 xcopy %1\hw\mthca\kernel\mthca.cdf %2\HCA\x86\ /yq
-xcopy %1\hw\mlx4\kernel\hca\mlx4_hca.inf %2\HCA\x86\ /yq
 xcopy %1\hw\mlx4\kernel\hca\mlx4_hca.cdf %2\HCA\x86\ /yq
-xcopy %1\hw\mlx4\kernel\bus\drv\mlx4_bus.inf %2\HCA\x86\ /yq
 xcopy %1\hw\mlx4\kernel\bus\drv\mlx4_bus.cdf %2\HCA\x86\ /yq
-
 xcopy %1\core\bus\kernel\ib_bus.cdf %2\HCA\x86\ /yq
 
 rem No WSD support for XP32
@@ -538,13 +535,10 @@
 
 xcopy %1\hw\mthca\kernel\mthca.cdf %2\HCA\amd64 /yq
 
-xcopy %1\hw\mlx4\kernel\hca\mlx4_hca.inf %2\HCA\amd64\ /yq
 xcopy %1\hw\mlx4\kernel\hca\mlx4_hca.cdf %2\HCA\amd64\ /yq
 xcopy %1\hw\mlx4\kernel\hca\mlx4_hca32.cdf %2\HCA\amd64\ /yq
-xcopy %1\hw\mlx4\kernel\bus\drv\mlx4_bus.inf %2\HCA\amd64\ /yq
 xcopy %1\hw\mlx4\kernel\bus\drv\mlx4_bus.cdf %2\HCA\amd64\ /yq
 xcopy %1\hw\mlx4\kernel\bus\drv\mlx4_bus32.cdf %2\HCA\amd64\ /yq
-
 xcopy %1\core\bus\kernel\ib_bus.cdf %2\HCA\amd64\ /yq
 
 xcopy %1\ulp\ipoib\kernel\ipoib.cdf %2\net\amd64\ /yq
@@ -554,9 +548,7 @@
 
 
 rem When ConnectX works for ia64
-rem xcopy %1\hw\mlx4\kernel\hca\mlx4_hca.inf %2\HCA\ia64\ /yq
 rem xcopy %1\hw\mlx4\kernel\hca\mlx4_hca.cdf %2\HCA\ia64\ /yq
-rem xcopy %1\hw\mlx4\kernel\bus\drv\mlx4_bus.inf %2\HCA\ia64\ /yq
 rem xcopy %1\hw\mlx4\kernel\bus\drv\mlx4_bus.cdf %2\HCA\ia64\ /yq
 
 xcopy %1\core\bus\kernel\ib_bus.cdf %2\HCA\ia64\ /yq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_mlx4_inf_location.patch
Type: application/octet-stream
Size: 2370 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080805/1af2a618/attachment.obj>


More information about the ofw mailing list