
;/*****************************************************************************
;**                            INTEL CONFIDENTIAL                            **
;**                                                                          **
;**        Copyright 2006-2010 Intel Corporation All Rights Reserved.        **
;**                                                                          **
;**  The material contained or described herein and all documents related    **
;**  to such material ("Material") are owned by Intel Corporation or its     **
;**  suppliers or licensors. Title to the Material remains with Intel        **
;**  Corporation or its suppliers and licensors. The Material contains trade **
;**  secrets and proprietary and confidential information of Intel or its    **
;**  suppliers and licensors. The Material is protected by worldwide         **
;**  copyright and trade secret laws and treaty provisions. No part of the   **
;**  Material may be used, copied, reproduced, modified, published,          **
;**  uploaded, posted, transmitted, distributed, or disclosed in any way     **
;**  without Intel’s prior express written permission.                       **
;**                                                                          **
;**  No license under any patent, copyright, trade secret or other           **
;**  intellectual property right is granted to or conferred upon you by      **
;**  disclosure or delivery of the Materials, either expressly, by           **
;**  implication, inducement, estoppel or otherwise. Any license under such  **
;**  intellectual property rights must be express and approved by Intel in   **
;**  writing.                                                                **
;*****************************************************************************/

;/******************************************************************************
;* $Id: ifcoemp.inx,v 1.2 2011/12/09 00:12:51 schatte1 Exp $
;* $Source: /home/cvsroot/ladsw/fcoe/fcoe_windows_driver/vmp/ifcoemp.inx,v $
;******************************************************************************/


;-------------------------------------------------------------------------
; IFCoEMP.INF -- Intel(R) FCoE Miniport Driver
;-------------------------------------------------------------------------

[Version]
Signature   = "$WINDOWS NT$"
Class       = SCSIAdapter
ClassGuid   = {4d36e97b-e325-11ce-bfc1-08002be10318}
Provider    = %Intel%
CatalogFile = ifcoemp.cat
DriverVer=04/10/2012,1.9.13.0

[Manufacturer]
%Intel% = Intel, NTx86.6.0, NTAMD64.6.0, NTia64


;install for LH (Vista)
[Intel.NTx86.6.0]
%IntelFCoEDevice.DeviceDesc%=Install_2k8x32, {4d36e97b-e325-11ce-bfc1-08002be10318}\IntelFCoEDevice, {4d36e97b-e325-11ce-bfc1-08002be10318}\IntelCompatibleFCoEDevice
[Intel.NTAMD64.6.0]
%IntelFCoEDevice.DeviceDesc%=Install_2k8x64, {4d36e97b-e325-11ce-bfc1-08002be10318}\IntelFCoEDevice, {4d36e97b-e325-11ce-bfc1-08002be10318}\IntelCompatibleFCoEDevice


[Intel.NTia64]
;no install for IA64 atleast for now!


;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install_2k8x32]
AddReg=Install.AddReg
CopyFiles=CopyFiles_2k8x32

[Install_2k8x64]
AddReg=Install.AddReg
CopyFiles=CopyFiles_2k8x64


[Install.AddReg]
HKR,"ScsiPort","NeedsSystemShutdownNotification",0x00010001,1

;-------------------------------------------------------------------------
; Delete Registry Parameters for the Drivers
;-------------------------------------------------------------------------
[Install.DelReg]
HKR,"Parameters",,0x00002000


[CopyFiles_2k8x32]
ifM60x32.sys,,,2
[CopyFiles_2k8x64]
ifM60x64.sys,,,2


;-------------------------------------------------------------------------
; CoInstallers Section
;-------------------------------------------------------------------------
[Install_2k8x32.CoInstallers]
AddReg=CoInstaller_Addeg
CopyFiles=CoInstaller_CopyFiles

[Install_2k8x64.CoInstallers]
AddReg=CoInstaller_Addeg
CopyFiles=CoInstaller_CopyFiles


[CoInstaller_Addeg]
HKR,, CoInstallers32,   0x00010000, "NicCo36.dll,NicCoInstallerEntry"
HKR,, NicCoPlugins,     0x00010000, "FCoEGUI.dll,FCOEGUIEntry,1"

[CoInstaller_CopyFiles]
NicCo36.dll,,,


;-------------------------------------------------------------------------
; Disk/Destination 
;-------------------------------------------------------------------------
[SourceDisksFiles]
ifM60x32.sys    = 1,,
ifM60x64.sys    = 1,,
NicCo36.dll     = 1,,

[SourceDisksNames]
1 = %DiskId1%,,,

[DestinationDirs]
DefaultDestDir          = 12    ; DIRID_DRIVERS
CoInstaller_CopyFiles   = 11



;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install_2k8x32.Services]
AddService=IFCoEMP,%SPSVCINST_ASSOCSERVICE%,Install_2k8x32.Service, Install_2k8x32.EventLog    
[Install_2k8x64.Services]
AddService=IFCoEMP,%SPSVCINST_ASSOCSERVICE%,Install_2k8x64.Service, Install_2k8x64.EventLog

;-----------------------------------------------------------------------------
; Event Log settings
;-----------------------------------------------------------------------------

[Install_2k8x32.EventLog]
AddReg=Install_2k8x32.AddEventLog
DelReg=Install_2k8x32.DelEventLog

[Install_2k8x64.EventLog]
AddReg=Install_2k8x64.AddEventLog
DelReg=Install_2k8x64.DelEventLog

;SERVICE_BOOT_START         (0x0)
;SERVICE_SYSTEM_START       (0x1)
;SERVICE_AUTO_START         (0x2) 
;SERVICE_DEMAND_START       (0x3) 

[Install_2k8x32.Service]
;LoadOrderGroup = FCoE Miniport
StartType      = 0               ; SERVICE_BOOT_START 
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ifM60x32.sys
AddReg         = pnpsafe_isa_addreg, bustype_fcoe_addreg
DisplayName    = %IntelFCoEDevice.DeviceDesc%

[Install_2k8x32.AddEventLog]
HKR,, EventMessageFile, 0x00020000,  "%SystemRoot%\System32\netevent.dll;%SystemRoot%\System32\drivers\ifM60x32.sys"
HKR,, TypesSupported,   0x00010001, 7

[Install_2k8x32.DelEventLog]
HKR,, EventMessageFile, 0x00020000,  "%SystemRoot%\System32\netevent.dll;%SystemRoot%\System32\drivers\ifM60x32.sys"
HKR,, TypesSupported,   0x00010001, 7

[Install_2k8x64.Service]
;LoadOrderGroup = FCoE Miniport
StartType      = 0               ; SERVICE_BOOT_START 
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ifM60x64.sys
AddReg         = pnpsafe_isa_addreg, bustype_fcoe_addreg
DisplayName    = %IntelFCoEDevice.DeviceDesc%

[Install_2k8x64.AddEventLog]
HKR,, EventMessageFile, 0x00020000,  "%SystemRoot%\System32\netevent.dll;%SystemRoot%\System32\drivers\ifM60x64.sys"
HKR,, TypesSupported,   0x00010001, 7

[Install_2k8x64.DelEventLog]
HKR,, EventMessageFile, 0x00020000,  "%SystemRoot%\System32\netevent.dll;%SystemRoot%\System32\drivers\ifM60x64.sys"
HKR,, TypesSupported,   0x00010001, 7


;-------------------------------------------------------------------------
; Registry Parameters for the Drivers
;-------------------------------------------------------------------------
[pnpsafe_isa_addreg]
HKR, "Parameters\PnpInterface", "1", %REG_DWORD%,  0x00000001


;-------------------------------------------------------------------------
; Registry Parameter to indicate BusType to Port Driver
;-------------------------------------------------------------------------
[bustype_fcoe_addreg]
HKR, "Parameters", "BusType", 0x00010001, 0x00000006 


[Strings]
REG_DWORD                   = 0x00010001
REG_STRING                  = 0x00000000
REG_BINARY                  = 0x00000001
SPSVCINST_ASSOCSERVICE      = 0x00000002
Intel                       = "Intel"
DiskId1                     = "Intel(R) FCoE Device Installation Media"
IntelFCoEDevice.DeviceDesc  = "Intel(R) Ethernet Virtual Storage Miniport Driver for FCoE"
