;
;  Copyright 2003 Microsoft Corporation, All rights reserved.
;
; uaspstor.inf - Install Microsoft UAS host driver
;

[Version]
Signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
PnpLockdown=1
DriverVer = 06/21/2006,10.0.22621.3672

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
uaspstor.sys        = 3426

[Manufacturer]
%Generic.Mfg%=Generic,NTamd64

[Generic.NTamd64]         
%Generic.DeviceDesc%=UASPort_Install_Control, USB\Class_08&SubClass_06&Prot_62

[DestinationDirs]
UASPort_DriverCopy=12             ; system32\drivers

; =================== UASPort ================================

[UASPort_Install_Control]         
CopyFiles=UASPort_DriverCopy
AddReg=UASPort_DriverAddReg

[UASPort_Install_Control.HW]
AddReg=UASPort_DeviceAddReg

[UASPort_Install_Control.Services]        
AddService=UASPStor,2,UASPort_DriverInstallSection, UASPort_EventLog

[UASPort_DriverCopy]          
uaspstor.sys,,,0x100

[UASPort_DriverAddReg]

[UASPort_EventLog]
AddReg = UASPort_Eventlog_AddReg

[UASPort_Eventlog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\iologmsg.dll"
HKR,,TypesSupported,0x00010001,7

[UASPort_DriverInstallSection]
DisplayName=%UASPortName%
ServiceType    = 1      ;SERVICE_KERNEL_DRIVER
StartType      = 3      ;SERVICE_DEMAND_START
ErrorControl   = 1      ;SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\uaspstor.sys
AddReg         = UASPort_ServiceAddReg

[UASPort_ServiceAddReg]
HKR,Parameters,BusType,0x00010001,0x0000007
HKR,Parameters,IoTimeoutValue,0x00010001,0x0000000F
HKR,,BootFlags,0x00010003,0x00000014	;CM_SERVICE_USB3_DISK_BOOT_LOAD | CM_SERVICE_USB_DISK_BOOT_LOAD

[UASPort_DeviceAddReg]
HKR,StorPort,EnableIdlePowerManagement,0x00010001,1

[Strings]
;Localizable
MSFT="Microsoft"
UASPortName="USB Attached SCSI (UAS) Driver"
Generic.Mfg     = "USB Attached SCSI (UAS) Compatible Device"
Generic.DeviceDesc = "USB Attached SCSI (UAS) Mass Storage Device"
