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

Smith, Stan stan.smith at intel.com
Tue Aug 5 09:01:18 PDT 2008


Looks good.
Please commit ASAP.

Thank you,

Stan.

Anatoly Greenblatt wrote:
>  <<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




More information about the ofw mailing list