summaryrefslogtreecommitdiff
path: root/packer/files/drivers/amd64/w10/viostor.inf
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-07-11 21:50:55 +0300
committerheqnx <root@heqnx.com>2025-07-11 21:50:55 +0300
commit8cf16b5c899a60ea5982c5d8dc042153daf6ac5b (patch)
treed64092854fe32f4630f514b93b244b0b5eddc5d1 /packer/files/drivers/amd64/w10/viostor.inf
parent54ecdd04947e70026c96365ea29463f8b435c1aa (diff)
downloadansible-active-directory-range-8cf16b5c899a60ea5982c5d8dc042153daf6ac5b.tar.gz
ansible-active-directory-range-8cf16b5c899a60ea5982c5d8dc042153daf6ac5b.zip
added packer templates
Diffstat (limited to 'packer/files/drivers/amd64/w10/viostor.inf')
-rwxr-xr-xpacker/files/drivers/amd64/w10/viostor.inf121
1 files changed, 121 insertions, 0 deletions
diff --git a/packer/files/drivers/amd64/w10/viostor.inf b/packer/files/drivers/amd64/w10/viostor.inf
new file mode 100755
index 0000000..6c6054d
--- /dev/null
+++ b/packer/files/drivers/amd64/w10/viostor.inf
@@ -0,0 +1,121 @@
+;/*++
+;
+;Copyright (c) 2008-2019 Red Hat Inc.
+;
+;
+;Module Name:
+; viostor.inf
+;
+;Abstract:
+;
+;Installation Notes:
+; Using Devcon: Type "devcon install viostor.inf PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" or
+; "devcon install viostor.inf PCI\VEN_1AF4&DEV_1042&SUBSYS_11001AF4&REV_01" to install
+;
+;--*/
+
+[Version]
+Signature="$Windows NT$"
+Class=SCSIAdapter
+ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
+Provider=%VENDOR%
+DriverVer = 04/12/2019,100.77.104.17100
+CatalogFile=viostor.cat
+DriverPackageType = PlugAndPlay
+DriverPackageDisplayName = %VioStorScsi.DeviceDesc%
+
+;
+; Source file information
+;
+
+[SourceDisksNames]
+1 = %DiskId1%,,,""
+
+[SourceDisksFiles]
+viostor.sys = 1,,
+
+[ControlFlags]
+;ExcludeFromSelect = *
+
+[DestinationDirs]
+DefaultDestDir = 10
+viostor_Files_Driver = 12
+
+;
+; Driver information
+;
+
+[Manufacturer]
+%VENDOR% = VioStor,NTamd64.10.0
+
+[VioStor.NTamd64.10.0]
+%VioStorScsi.DeviceDesc% = scsi_inst, PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00, PCI\VEN_1AF4&DEV_1001
+%VioStorScsi.DeviceDesc% = scsi_inst, PCI\VEN_1AF4&DEV_1042&SUBSYS_11001AF4&REV_01, PCI\VEN_1AF4&DEV_1042
+
+;
+; General installation section
+;
+
+[viostor_Files_Driver]
+viostor.sys,,,2
+
+[scsi_inst]
+CopyFiles=viostor_Files_Driver
+
+;
+; Service Installation
+;
+
+[scsi_inst.Services]
+AddService = viostor, 0x00000002 , scsi_Service_Inst, scsi_EventLog_Inst
+
+[scsi_Service_Inst]
+ServiceType = %SERVICE_KERNEL_DRIVER%
+StartType = %SERVICE_BOOT_START%
+ErrorControl = %SERVICE_ERROR_NORMAL%
+ServiceBinary = %12%\viostor.sys
+LoadOrderGroup = SCSI miniport
+AddReg = pnpsafe_pci_addreg
+
+[scsi_inst.HW]
+AddReg = pnpsafe_pci_addreg_msix
+
+[scsi_EventLog_Inst]
+AddReg = scsi_EventLog_AddReg
+
+[scsi_EventLog_AddReg]
+HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
+HKR,,TypesSupported,%REG_DWORD%,7
+
+
+[pnpsafe_pci_addreg]
+HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
+HKR, "Parameters", "BusType", %REG_DWORD%, 0x00000001
+
+[pnpsafe_pci_addreg_msix]
+HKR, "Interrupt Management",, 0x00000010
+HKR, "Interrupt Management\MessageSignaledInterruptProperties",, 0x00000010
+HKR, "Interrupt Management\MessageSignaledInterruptProperties", MSISupported, 0x00010001, 1
+HKR, "Interrupt Management\MessageSignaledInterruptProperties", MessageNumberLimit, 0x00010001, 256
+HKR, "Interrupt Management\Affinity Policy",, 0x00000010
+HKR, "Interrupt Management\Affinity Policy", DevicePolicy, 0x00010001, 5
+
+
+[Strings]
+;
+; Localizable Strings
+;
+VENDOR = "Red Hat, Inc."
+diskId1 = "Red Hat VirtIO SCSI controller Installation Disk"
+VioStorScsi.DeviceDesc = "Red Hat VirtIO SCSI controller"
+
+;
+; Non-Localizable Strings
+;
+
+REG_EXPAND_SZ = 0x00020000
+REG_DWORD = 0x00010001
+SERVICE_KERNEL_DRIVER = 1
+SERVICE_BOOT_START = 0
+SERVICE_ERROR_NORMAL = 1
+