; Copyright (c) 2016, Microsoft.

[version]
signature   = "$WINDOWS NT$"
class       = system
classguid   = {4D36E97D-E325-11CE-BFC1-08002BE10318}
provider    = %msft%
driverver   = 05/25/2016,7.12.31.105

[manufacturer]
%brcm% = QLogic, ntamd64

[QLogic.ntamd64]
%bcm5706c_desc% = bcm5706c_amd64ws3, pci\ven_14e4&dev_164a
%bcm5706s_desc% = bcm5706s_amd64ws3, pci\ven_14e4&dev_16aa
%bcm5708c_desc% = bcm5708c_amd64ws3, pci\ven_14e4&dev_164c
%bcm5708s_desc% = bcm5708s_amd64ws3, pci\ven_14e4&dev_16ac
%bcm5709c_desc% = bcm5709c_amd64ws3, pci\ven_14e4&dev_1639
%bcm5709s_desc% = bcm5709s_amd64ws3, pci\ven_14e4&dev_163a
%bcm5716c_desc% = bcm5716c_amd64ws3, pci\ven_14e4&dev_163b
%bcm5716s_desc% = bcm5716s_amd64ws3, pci\ven_14e4&dev_163c

;*******************************************************************************
; amd64 install sections.
;*******************************************************************************

[bcm5706c_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5706c_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog


[bcm5706s_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5706s_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog


[bcm5708c_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5708c_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog


[bcm5708s_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5708s_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog


[bcm5709c_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5709c_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog

[bcm5709c_amd64ws3.hw]
addreg     = msix_support


[bcm5709s_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5709s_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog

[bcm5709s_amd64ws3.hw]
addreg     = msix_support

[bcm5716c_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5716c_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog

[bcm5716c_amd64ws3.hw]
addreg     = msix_support

[bcm5716s_amd64ws3]
addreg    = params
copyfiles = amd64_sys_file

[bcm5716s_amd64ws3.services]
addservice = b06bdrv, 0x00000002, amd64_add_service, amd64_eventlog

[bcm5716s_amd64ws3.hw]
addreg     = msix_support


[amd64_add_service]
displayname    = %vbd_srv_desc%
servicetype    = 1               ; SERVICE_KERNEL_DRIVER
starttype      = 0               ; SERVICE_BOOT_START
errorcontrol   = 1               ; SERVICE_ERROR_NORMAL
servicebinary  = %12%\bxvbda.sys
loadordergroup = System Bus Extender

[amd64_eventlog]
addreg = amd64_addreg_eventlog

[amd64_addreg_eventlog]
hkr, , eventmessagefile, 0x00020000, "%%SystemRoot%%\System32\iologmsg.dll;%%SystemRoot%%\System32\drivers\bxvbda.sys"
hkr, , typessupported  , 0x00010001, 7



;*******************************************************************************
; Registry parameters.
;*******************************************************************************

[msix_support]
hkr, Interrupt Management\MessageSignaledInterruptProperties, MSISupported, 0x00010001, 1
hkr, Interrupt Management\Affinity Policy, DevicePolicy, 0x00010001, 0x03

[params]
;hkr, , create_pdo_flag,     2, "2147483652"
hkr, , create_pdo_flag,     2, "4"
hkr, , l2_rx_desc_cnt0,     2, "500"



;*******************************************************************************
; Delete old registry parameters.
;*******************************************************************************





;*******************************************************************************
; Destination directories
;*******************************************************************************

[destinationdirs]
amd64_sys_file = 12

[sourcedisksnames]
1 = %disk_desc%,,,

[sourcedisksfiles]
bxvbda.sys = 1,,

[amd64_sys_file]
bxvbda.sys

[strings]

;*******************************************************************************
; Non-Localizable strings
;*******************************************************************************
brcm = "QLogic Corporation"
msft = "Microsoft"

;*******************************************************************************
; Localizable strings
;*******************************************************************************
disk_desc = "QLogic Network Adapter Installation Media"
vbd_srv_desc = "QLogic Network Adapter VBD"

bcm5706c_desc = "QLogic BCM5706C Gigabit Ethernet"
bcm5706s_desc = "QLogic BCM5706S Gigabit Ethernet"
bcm5708c_desc = "QLogic BCM5708C Gigabit Ethernet"
bcm5708s_desc = "QLogic BCM5708S Gigabit Ethernet"
bcm5709c_desc = "QLogic BCM5709C Gigabit Ethernet"
bcm5709s_desc = "QLogic BCM5709S Gigabit Ethernet"
bcm5716c_desc = "QLogic BCM5716C Gigabit Ethernet"
bcm5716s_desc = "QLogic BCM5716S Gigabit Ethernet"

fw_flow_ctrl_desc           = "Pause On Exhausted Host Ring"
generic_enabled             = "Enabled"
generic_disabled            = "Disabled"
