;/*++
;
;Copyright (c) 2010-2019 Intel Corporation All rights Reserved
;
;Module Name:
;
;    Lm3643.INF
;
;Abstract:
;    INF file for installing Lm3643 (ACPI\TXNW3643) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update Lm3643.inf ACPI\TXNW3643" to install
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 03/30/2020,10.1.57.292
CatalogFile=Lm3643.cat
PnpLockdown=1

;----------------------------------------------------------------------
;   Device Section
;----------------------------------------------------------------------

[Manufacturer]
%INTEL%=Intel,NTamd64

; For Win2K because it cannot parse decorated sections.
;[Standard]
;
; These are the Lm3643 ids
;
;%Lm3643.DeviceDesc%=Lm3643_Device, root\Lm3643

; For XP and later
[Intel.NTamd64]
%Lm3643.DeviceDesc%=Driver, ACPI\TXNW3643

;----------------------------------------------------------------------
;   Driver Section
;----------------------------------------------------------------------

[Driver.NT]
CopyFiles=Drivers.Files

[Driver.NT.Services]
AddService = Lm3643,%SPSVCINST_ASSOCSERVICE%, Lm3643.AddService

[Lm3643.AddService]
DisplayName    = %Driver_Service.Desc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\lm3643.sys
LoadOrderGroup = Boot Bus Extender

[Driver.NT.HW]
AddReg         = Lm3643.AddReg

[Lm3643.AddReg]                            
HKR, Parameters,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR, Parameters,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0)(D;;GA;;;WD)"  ;Grant access just to built-in administrators, local system, and usermode drivers
HKR,"WDF","WdfDirectedPowerTransitionEnable",0x00010001,1


[Drivers.Files]
lm3643.sys

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
lm3643.sys = 1

[DestinationDirs]
DefaultDestDir = 13

;----------------------------------------------------------------------
;    Strings
;----------------------------------------------------------------------

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Disk #1"
Driver_Service.Desc = "Flash LM3643"
Lm3643.DeviceDesc = "Flash LM3643"
