;
;  Setup information file for Qualcomm Atheros CR Windows driver
;
;  Date:      Jul, 2012
;
;  Copyright: Copyright (C) Qualcomm Atheros, Inc.
;

[Version]
Signature              = "$Windows NT$"
ClassGUID              = {4d36e970-e325-11ce-bfc1-08002be10318}
Class                  = MTD
Provider               = %Prov%
CatalogFile            = atheroscr.cat
DriverPackageType      = PlugAndPlay
DriverPackageDisplayName = %PackageNameX86%
DriverVer              = 09/05/2012, 1.0.1.22

[Manufacturer]
%Manuf%                = MANUF

[MANUF]
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010

%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_07671025 ; EA40_UMA
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_076B1025 ; EA50_UMA
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_076C1025 ; EA50_PowerXpress
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_076F1025 ; EG50_UMA
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_07701025 ; EG50_PowerXpress
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_07781025 ; VP40_UMA
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_07791025 ; VP40_PowerXpress
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_07681025 ; EA40_KB
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_080E1025 ; ZRI
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_080F1025 ; ZRI
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_08101025 ; ZQI
%AR109B.DeviceDesc%    = ARCR.Inst, PCI\VEN_1969&DEV_2010&SUBSYS_08111025 ; ZQI

[ARCR.Inst.NTx86]
AddReg                 = ARCR.Inst.AddReg
CopyFiles              = ARCR.CopyFiles.NTx86

[ARCR.Inst.AddReg]
HKR, ,                   SMClockFreq,          0x00010001, 50000
HKR, ,                   MSCHandShakeCnt,      0x00010001, 18
HKR, ,                   MS8BitBusEnable,      0x00010001, 1
HKR, ,                   PMSEnable,            0x00010001, 7
HKR, ,                   DMAExceptionHandling, 0x00010001, 0
HKR, ,                   PowerIdleTime,        0x00010001, 5
HKR, ,                   ClkIdleTime,          0x00010001, 0
HKR, ,                   MMCHS,                0x00010001, 1
HKR, Win2K,              SupportSD,            0x00010001, 1
HKR, Win2K3,             SupportSD,            0x00010001, 1
HKR, WinXP,              SupportSD,            0x00010001, 0
HKR, Vista,              SupportSD,            0x00010001, 0
HKR, Win7,               SupportSD,            0x00010001, 0

[ARCR.CopyFiles.NTx86]
atheroscr.sys
qcricon.dll

[ARCR.Inst.NTx86.Services]
AddService             = ARCRX86, 0x00000002, ARCR.Service.NTx86,

[ARCR.Service.NTx86]
ServiceType            = %SERVICE_KERNEL_DRIVER%
StartType              = %SERVICE_DEMAND_START%
ErrorControl           = %SERVICE_ERROR_NORMAL%
ServiceBinary          = %12%\atheroscr.sys
LoadOrderGroup         = SCSI Class

[DestinationDirs]
ARCR.CopyFiles.NTx86 = 12

[SourceDisksFiles.x86]
atheroscr.sys              = 1
qcricon.dll             = 1 

[SourceDisksNames.x86]
1                      = %DiskNameX86%,,,

[ARCR.Inst.NTx86.HW]
AddReg                 = ARCR.Inst.AddReg.HW

[ARCR.Inst.AddReg.HW]
HKR,,FriendlyName,,%AR109B.DeviceDesc%

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MMC","Icons",0x00010000,"%SystemRoot%\system32\drivers\qcricon.dll,-104"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MMC","Label",,"MultiMedia Card"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MMC","NoSoftEject",0x00010001,0x00000001
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MMC","DeviceGroup",,"FlashStorage"

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SD","Icons",0x00010000,"%SystemRoot%\system32\drivers\qcricon.dll,-105"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SD","Label",,"Secure Digital Storage Device"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SD","NoSoftEject",0x00010001,0x00000001
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SD","DeviceGroup",,"FlashStorage"

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MS","Icons",0x00010000,"%SystemRoot%\system32\drivers\qcricon.dll,-101"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MS","Label",,"MemoryStick Card"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MS","NoSoftEject",0x00010001,0x00000001
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MS","DeviceGroup",,"FlashStorage"

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MSP","Icons",0x00010000,"%SystemRoot%\system32\drivers\qcricon.dll,-102"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MSP","Label",,"MemoryStick Pro Card"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MSP","NoSoftEject",0x00010001,0x00000001
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#MSP","DeviceGroup",,"FlashStorage"

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SM","Icons",0x00010000,"%SystemRoot%\system32\shell32.dll,-308"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SM","Label",,"SM Card"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SM","NoSoftEject",0x00010001,0x00000001
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#SM","DeviceGroup",,"FlashStorage"

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#XD","Icons",0x00010000,"%SystemRoot%\system32\drivers\qcricon.dll,-103"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#XD","Label",,"xD Picture Card"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#XD","NoSoftEject",0x00010001,0x00000001
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\ATHRCR#XD","DeviceGroup",,"FlashStorage"


[Strings]
; --------------------
; Localizable Strings
; --------------------
Prov                   = "Qualcomm Atheros"
Manuf                  = "Qualcomm Atheros, Inc."
AR109B.DeviceDesc      = "Qualcomm Atheros Flash Memory Card Reader"
PackageNameX86         = "Card Reader Host Controller"
DiskNameX86            = "Qualcomm Atheros Card Reader driver disk"

; ------------------------
; Non Localizable Strings
; ------------------------
SERVICE_BOOT_START     = 0x0
SERVICE_SYSTEM_START   = 0x1
SERVICE_AUTO_START     = 0x2
SERVICE_DEMAND_START   = 0x3
SERVICE_DISABLED       = 0x4

SERVICE_KERNEL_DRIVER  = 0x1
SERVICE_ERROR_IGNORE   = 0x0
SERVICE_ERROR_NORMAL   = 0x1
SERVICE_ERROR_SEVERE   = 0x2
SERVICE_ERROR_CRITICAL = 0x3

REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001

