;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;
;    wfcvsc.inf
;
;Abstract:
;
;    INF file for installing the synthetic Fibre Channel HBA driver.
;
;--*/

[Version]
signature="$WINDOWS NT$"
Class=SCSIAdapter
ClassGuid={4d36e97b-e325-11ce-bfc1-08002be10318} 
Provider=%MSFT%
DriverVer = 06/21/2006,10.0.20348.2849
PnpLockdown=1

[SourceDisksNames]
1=%DiskId%

[SourceDisksFiles]
fcvsc.sys = 1

[DestinationDirs]
DefaultDestDir = 12 ; system32\drivers

[Manufacturer]
%StdMfg%=Standard,NTamd64...0x0000001,NTamd64...0x0000002,NTamd64...0x0000003

;
; Block on Workstation
;
[Standard.NTamd64...0x0000001]
%DeviceDesc_NULL% = fcvscDriveInstall_NULL, VMBUS\{2f9bcc4a-0069-4af3-b76b-6fd0be528cda}

;
; Allow on Domain Controller
;
[Standard.NTamd64...0x0000002]
%DeviceDesc% = fcvscDriveInstall, VMBUS\{2f9bcc4a-0069-4af3-b76b-6fd0be528cda}

;
; Allow on Server
;
[Standard.NTamd64...0x0000003]
%DeviceDesc% = fcvscDriveInstall, VMBUS\{2f9bcc4a-0069-4af3-b76b-6fd0be528cda}


[fcvscDriveInstall]
CopyFiles=SYS.CopyList

[SYS.CopyList]
fcvsc.sys,,,0x100 ;COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE

[fcvscDriveInstall.Services]
AddService = "fcvsc",%SPSVCINST_ASSOCSERVICE%,fcvsc_Service_Inst

[pnpsafe_pci_addreg]
HKR,"Parameters\Device",EnableQueryAccessAlignment,0x00010001,0x00000001

[bus_type_fc]
HKR,"Parameters","BusType",0x00010001,6

[fcvsc_Service_Inst]
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = SCSI miniport
ServiceBinary = %12%\fcvsc.sys
AddReg        = pnpsafe_pci_addreg
AddReg        = bus_type_fc

[fcvscDriveInstall_NULL]
; null driver install

[fcvscDriveInstall_Null.Services]
AddService = ,%SPSVCINST_ASSOCSERVICE%  ; null service install

[fcvscDriveInstall.HW]
AddReg=fcvsc_vmbus_addreg

[fcvsc_vmbus_addreg]
HKR,,DedicatedProcessor,0x00010001,1


[Strings]
;
; Non-Localizable
;
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId = "Microsoft Hyper-V Fibre Channel HBA Installation Disk #1"

SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER = 0x00000001
SERVICE_DEMAND_START = 0x00000003
SERVICE_ERROR_NORMAL = 0x00000001

;
; Localizable
;
DeviceDesc = "Microsoft Hyper-V Fibre Channel HBA"
DeviceDesc_NULL = "Microsoft Hyper-V Fibre Channel HBA (not supported)"
