;***********************************************************************
;
; mbtu97w8arm.inf
;
; Copyright (C) 2011, Marvell International Ltd.  
; All Rights Reserved
;
; Installation script for Marvell AVASTAR Family Bluetooth Radio
;
;***********************************************************************
[Version]
 DriverVer=03/02/2013,14.62.17215.91
 Signature              = "$Windows NT$"
 Class                  = System
 ClassGUID              = {4D36E97D-E325-11CE-BFC1-08002BE10318}
 Provider               = %MRVL_VER_VENDOR_NAME_STR%
 CatalogFile            = mbtu97w8arm.cat
 PnpLockDown            = 1

[ControlFlags]
;Exclude all PNP adapters from user selection
 ExcludeFromSelect      = *

[Manufacturer]
 %MRVL_VER_VENDOR_NAME_STR% = mv14uart_models,NTarm

[mv14uart_models.NTarm]
 %MRVL_UART8797_DESC_STR% = mv14uart.NTarm, ACPI\NVDAF000

;********************************************************************************
;					ARM Install section for Windows 8
;********************************************************************************
[mv14uart.NTarm]
 CopyFiles = mv14uart.copyfiles.NTarm
 CopyFiles = mv14uart.MrvlBtRadio.copyfiles.NTarm
 AddReg    = mv14uart.Common.AddReg
 AddReg    = mv14uart.MrvlBtRadio.AddReg.NTarm
 Reboot

[mv14uart.NTarm.Services]
 AddService = mbtu97w8,0x00000002, mv14uart.Service.NTarm

[mv14uart.Service.NTarm]
 DisplayName    = %MV14UART.SVCDESC%
 ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
 StartType      = 3               ; SERVICE_DEMAND_START 
 ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
 ServiceBinary  = %12%\mbtu97w8arm.sys


;*********************************************************************************************
;				Common Registry section
;*********************************************************************************************
[mv14uart.Common.AddReg]
 HKR,,DeviceCharacteristics,0x10001,0x0100      ; Use same security checks on relative opens
 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"   ; Allow generic-all access to Built-in administrators and Local system 
 
;*********************************************************************************************
;				ARM BT radio DLL Registry section
;*********************************************************************************************
[mv14uart.MrvlBtRadio.AddReg.NTarm]
 HKLM, "SYSTEM\CurrentControlSet\services\BTHPORT\Parameters\Radio Support", "SupportDLL", 0x00020000, "%11%\mvbtrcarm.dll"

;*********************************************************************************************
;				Common File copy section
;*********************************************************************************************
[DestinationDirs]
 DefaultDestDir                                  = 12 ; %windir%\system32\drivers
 mv14uart.MrvlBtRadio.copyfiles.NTarm            = 11 ; %windir%\system32\

[SourceDisksNames]
 1 = %INSTALL_DISK_STR%

[SourceDisksFiles]
 mbtu97w8arm.sys = 1
 mvbtrcarm.dll = 1

[mv14uart.copyfiles.NTarm]
 mbtu97w8arm.sys

[mv14uart.MrvlBtRadio.copyfiles.NTarm]
 mvbtrcarm.dll
 
;*********************************************************************************************
[Strings]
;Non-Localizable
 SPSVCINST_ASSOCSERVICE= 0x00000002

;Localizable
 MRVL_VER_VENDOR_STR		= "Marvell"
 MRVL_VER_VENDOR_NAME_STR	= "Marvell Semiconductor, Inc."
 INSTALL_DISK_STR			= "Marvell AVASTAR Software Installation Disk #1"
 MRVL_UART8797_DESC_STR		= "Marvell AVASTAR Bluetooth Radio Enumerator"
 MV14UART.SVCDESC			= "Marvell AVASTAR Bluetooth Enumerator Service"
 MRVL_UART_SERVICE_STR		= "mbtu97w8"
 MRVL_SDIO_SERVICE_STR      = "mwls97w8"
 
