;
; LSI_FC.INF - version LH.5 - LSI Logic
;
; This is the INF file for Windows (in-box) for the LSI_FC based
; PCI MPT environment (Fibre Channel devices)
;
; Copyright (c) LSI Logic Incorporated


[version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%LSI%
DriverVer=09/08/2008,1.28.03.52

;
; Source file information
;

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
lsi_fc.sys = 3426

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[Manufacturer]
%LSI%=LSI,NTx86,NTia64,NTamd64

[LSI]

[LSI.NTx86]
%DevDesc2% = LSI_FC_Inst, PCI\VEN_1000&DEV_0622
%DevDesc3% = LSI_FC_Inst, PCI\VEN_1000&DEV_0624
%DevDesc4% = LSI_FC_Inst_nomsi, PCI\VEN_1000&DEV_0626
%DevDesc5% = LSI_FC_Inst_nomsi, PCI\VEN_1000&DEV_0628
%DevDesc11% = LSI_FC_Inst, PCI\VEN_1000&DEV_0640
%DevDesc12% = LSI_FC_Inst, PCI\VEN_1000&DEV_0646

[LSI.NTia64]
%DevDesc2% = LSI_FC_Inst, PCI\VEN_1000&DEV_0622
%DevDesc3% = LSI_FC_Inst, PCI\VEN_1000&DEV_0624
%DevDesc4% = LSI_FC_Inst_nomsi, PCI\VEN_1000&DEV_0626
%DevDesc5% = LSI_FC_Inst_nomsi, PCI\VEN_1000&DEV_0628
%DevDesc11% = LSI_FC_Inst, PCI\VEN_1000&DEV_0640
%DevDesc12% = LSI_FC_Inst, PCI\VEN_1000&DEV_0646

[LSI.NTamd64]
%DevDesc2% = LSI_FC_Inst, PCI\VEN_1000&DEV_0622
%DevDesc3% = LSI_FC_Inst, PCI\VEN_1000&DEV_0624
%DevDesc4% = LSI_FC_Inst_nomsi, PCI\VEN_1000&DEV_0626
%DevDesc5% = LSI_FC_Inst_nomsi, PCI\VEN_1000&DEV_0628
%DevDesc11% = LSI_FC_Inst, PCI\VEN_1000&DEV_0640
%DevDesc12% = LSI_FC_Inst, PCI\VEN_1000&DEV_0646

[ControlFlags]
ExcludeFromSelect = PCI\VEN_1000&DEV_0622
ExcludeFromSelect = PCI\VEN_1000&DEV_0624
ExcludeFromSelect = PCI\VEN_1000&DEV_0626
ExcludeFromSelect = PCI\VEN_1000&DEV_0628
ExcludeFromSelect = PCI\VEN_1000&DEV_0640
ExcludeFromSelect = PCI\VEN_1000&DEV_0646

[LSI_FC_Inst]
CopyFiles = LSI_FC_CopyFiles

[LSI_FC_Inst.HW]
DelReg = LegacyScsiportValues
AddReg = InterruptMgmtValues
Include = machine.inf
Needs = PciIoSpaceNotRequired

[LSI_FC_Inst.Services]
AddService = LSI_FC, %SPSVCINST_ASSOCSERVICE%, LSI_FC_Service_Inst, Miniport_EventLog_Inst

[LSI_FC_Inst_nomsi]
CopyFiles = LSI_FC_CopyFiles

[LSI_FC_Inst_nomsi.HW]
DelReg = LegacyScsiportValues
AddReg = InterruptMgmtValues_nomsi
Include = machine.inf
Needs = PciIoSpaceNotRequired

[LSI_FC_Inst_nomsi.Services]
AddService = LSI_FC, %SPSVCINST_ASSOCSERVICE%, LSI_FC_Service_Inst, Miniport_EventLog_Inst

[LSI_FC_Service_Inst]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\lsi_fc.sys
LoadOrderGroup = SCSI Miniport
AddReg         = pnpsafe_pci_addreg
AddReg         = bus_type_fc

[LSI_FC_CopyFiles]
lsi_fc.sys,,,1

[LegacyScsiportValues]
HKR,Scsiport,BusNumber
HKR,Scsiport,LegacyInterfaceType
HKR,Scsiport,SlotNumber

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

[InterruptMgmtValues_nomsi]
HKR,"Interrupt Management",0x00000010
HKR,"Interrupt Management\MessageSignaledInterruptProperties",0x00000010
HKR,"Interrupt Management\MessageSignaledInterruptProperties",MSISupported,0x00010001,0

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

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

[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg

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

[Strings]
;Localizable Strings needed for HBA naming in Windows UI
LSI = "LSI"
DevDesc2 = "LSI Adapter, 2Gb FC, models 44929, G2 with 929"
DevDesc3 = "LSI Adapter, 2Gb FC, models 40919 with 919"
DevDesc4 = "LSI Adapter, 2Gb FC, models 7202,7402 with 929X"
DevDesc5 = "LSI Adapter, 2Gb FC, models 7102 with 919X"
DevDesc11 = "LSI Adapter, 4Gb FC, models 7104,7204,7404 with 949X"
DevDesc12 = "LSI Adapter, 4Gb FC, models 7104,7204,7404 with 949E"

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