; QL40XXI2.INF - This file is used by Setup to install
; the QL40XXi2 Windows Stor Miniport Driver
; Copyright 1996-2013 QLogic Corporation 

[version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%QLOGIC%
DriverVer=03/11/2013,2.1.5.0

;
; Source file information
;

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
ql40xx2i.sys = 3426

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[Manufacturer]
%QLOGIC%=QLOGIC, NTamd64.6.2

;*******************************
;QLogic Manufacturer device list
[QLOGIC]

[QLOGIC.NTamd64.6.2]
%ql40xx2i.DeviceDesc% = ql40xx2i_Inst, PCI\VEN_1077&DEV_8022
%ql40xx2i.DeviceDesc% = ql40xx2i_Inst, PCI\VEN_1077&DEV_8032


[ControlFlags]
ExcludeFromSelect = *

[ql40xx2i_Inst]
CopyFiles = ql40xx2i_File_Copy
AddReg = ql40xx2i_Registry_Update

[ql40xx2i_File_Copy]
ql40xx2i.sys

[ql40xx2i_Registry_Update]
HKLM,SYSTEM\CurrentControlSet\Services\ql40xx2i\Parameters\Device,DriverParameter,0x00000000,""
HKLM,SYSTEM\CurrentControlSet\Services\ql40xx2i\Parameters,BusType,0x00010001,0x9
HKLM,SYSTEM\CurrentControlSet\Services\ql40xx2i\Parameters,IoTimeoutValue,0x00010001,0x4B

[ql40xx2i_Inst.Services]
AddService = ql40xx2i, %SPSVCINST_ASSOCSERVICE%, ql40xx2i_Service_Inst, Miniport_EventLog_Inst

[ql40xx2i_Service_Inst]
DisplayName    = %ql40xx2i.DriverDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\ql40xx2i.sys
LoadOrderGroup = SCSI Miniport
AddReg         = pnpsafe_pci_addreg

[pnpsafe_pci_addreg]
HKR, "Parameters\PnpInterface", "5", 0x00010001, 0x00000001

[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg

[Miniport_EventLog_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,%%SystemRoot%%\System32\IoLogMsg.dll
HKR,,TypesSupported,%REG_DWORD%,7

[ql40xx2i_Inst.HW]
AddReg = ql40xx2i_HWRegistry_Update

[ql40xx2i_HWRegistry_Update]
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",	MSISupported, 0x00010001, 1
HKR, "Interrupt Management\MessageSignaledInterruptProperties", MessageNumberLimit, 0x00010001, 1

[Strings]
;Localizable
QLOGIC = "QLogic"
ql40xx2i.DriverDesc = "QLogic iSCSI Miniport Inbox Driver"
ql40xx2i.DeviceDesc = "QLogic iSCSI Adapter"

;*******************************************
;Non-Localizable Handy macro substitutions 
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_NORMAL   = 1
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001
