;/******************************************************************************
;* Copyright 2012 Broadcom Corporation -- http://www.broadcom.com
;* This program is the proprietary software of Broadcom Corporation and/or
;* its licensors, and may only be used, duplicated, modified or distributed
;* pursuant to the terms and conditions of a separate, written license
;* agreement executed between you and Broadcom (an "Authorized License").
;* Except as set forth in an Authorized License, Broadcom grants no license
;* (express or implied), right to use, or waiver of any kind with respect to
;* the Software, and Broadcom expressly reserves all rights in and to the
;* Software and all intellectual property rights therein. IF YOU HAVE NO
;* AUTHORIZED LICENSE, THEN YOU HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY
;* WAY, AND SHOULD IMMEDIATELY NOTIFY BROADCOM AND DISCONTINUE ALL USE OF
;* THE SOFTWARE.
;******************************************************************************/
;
; Broadcom serial driver for Windows 8 and beyond
;
; (c) Copyright 2012 Broadcom
;
;
; BcmGnssBus.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%BRCM%
CatalogFile	= BcmGnssBus.cat
PnpLockdown = 1
DriverVer=01/11/2013,19.15.5030.4

[DestinationDirs]
DefaultDestDir = 12


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

[SourceDisksFiles]
BcmGnssBus.sys  = 1,,

[ControlFlags]
; ExcludeFromSelect=*

[Manufacturer]
%StdMfg%=VendorModels,NTx86

;*****************************************
; Serial bus driver install Section
;*****************************************

[VendorModels.NTx86]
%Bus.DeviceDesc%=Bus_Vendor, ACPI\BRCMGPS
%Bus.DeviceDesc%=Bus_Vendor, ACPI\BCMGNSS
%Bus.DeviceDesc%=Bus_Vendor, ACPI\BCM4750
%Bus.DeviceDesc%=Bus_Vendor, ACPI\BCM4751
%Bus.DeviceDesc%=Bus_Vendor, ACPI\BCM4752

[Bus_Vendor.NT]
CopyFiles=Bus.CopyFiles

[Bus.CopyFiles]
BcmGnssBus.sys

[Bus_Vendor.NT.HW]
AddReg=Bus_Vendor.NT.AddReg

[Bus_Vendor.NT.AddReg]
HKR,,DeviceCharacteristics,0x10001,0x0100      ; Use same security checks on relative opens
HKR,,ResourceConfig,1, 00,01,02 ; see RESOURCE_TYPE
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0)"   ; Allow generic-all access to Built-in administrators, Local system and user mode drivers


;-------------- Service installation
[Bus_Vendor.NT.Services]
AddService = BcmGnssBus,%SPSVCINST_ASSOCSERVICE%, Bus_Service_Inst

; -------------- statbus driver install sections
[Bus_Service_Inst]
DisplayName    = %Bus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\BcmGnssBus.sys

[Strings]
;Non-Localizable

SPSVCINST_ASSOCSERVICE= 0x00000002

;Localizable
BRCM = "Broadcom"
StdMfg = "(Standard system devices)"
DiskId1 = "Broadcom Installation Disk #1"
Bus.DeviceDesc = "Broadcom GNSS Bus Driver"
Bus.SVCDESC = "Broadcom GNSS Bus Driver disk"
