;copyright Freescale Semiconductor INC.
;------------------------------------------------------------------------------
;	  			Freescale Semiconductor INC.
;		     	      CDC Enumerator Bus (CDC) INF File 
;------------------------------------------------------------------------------

[Version]						
Signature="$WINDOWS NT$"								
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%MANUFACTURER%
CatalogFile=BUS_CDC.cat 

DriverVer=05/17/2011,1.0	

[Manufacturer]
%MANUFACTURER%=DeviceList,ntx86,ntamd64,ntamd64.6.0        

[DestinationDirs]					
DefaultDestDir = 12
MyDevice_CoInstaller_CopyFiles = 11

;------------------------------------------------------------------------------
;  		32 bits / Windows XP / Vista / 7
;------------------------------------------------------------------------------

[DriverInstall32.ntx86]                   
CopyFiles=DriverCopyFiles.ntx86 
include=mdmcpq.inf 

[DriverCopyFiles.ntx86]
pmanlayer.sys,,,0x20
lower_usb.sys

[DriverInstall32.ntx86.hw]
AddReg=DriverInstall32.ntx86.AddReg

[DriverInstall32.ntx86.CoInstallers]
CopyFiles=MyDevice_CoInstaller_CopyFiles
AddReg=MyDevice_CoInstaller_AddReg

[DriverInstall32.ntx86.Wdf]
KmdfService = pmanlayer, MyDevice_wdfsect

[DriverInstall32.ntx86.AddReg]
HKR,,DeviceCharacteristics,0x10001,0x0100         
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"       
HKR,,"UpperFilters",0x00010008,"lower_usb"

[DriverInstall32.ntx86.Services]
AddService = pmanlayer, %SPSVCINST_ASSOCSERVICE%, DriverService32.ntx86
AddService = lower_usb,, filterpdo_Service_Inst

[DriverService32.ntx86]
DisplayName    = "powmanlay"
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\pmanlayer.sys
LoadOrderGroup = Extended Base

;------------------------------------------------------------------------------
;  		64 bits / Windows XP / Vista /  7
;------------------------------------------------------------------------------

[Driver64WV.ntamd64] 
include=mdmcpq.inf
CopyFiles=DriverCopyFilesWV.ntamd64

[DriverCopyFilesWV.ntamd64]
pmanlayer64.sys,,,0x20
lower_usbV.sys

[Driver64WV.ntamd64.HW]
AddReg=Driver64WV.ntamd64.AddReg

[Driver64WV.ntamd64.CoInstallers]
CopyFiles=MyDevice_CoInstaller_CopyFiles
AddReg=MyDevice_CoInstaller_AddReg

[Driver64WV.ntamd64.Wdf]
KmdfService = %DRIVERFILENAME%, MyDevice_wdfsect

[Driver64WV.ntamd64.AddReg] 
HKR,,DeviceCharacteristics,0x10001,0x0100         
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"
HKR,,"UpperFilters",0x00010008,"lower_usbv"

[Driver64WV.ntamd64.Services] 
AddService=%DRIVERFILENAME%, 0x00000002, DriverService64WV.ntamd64
AddService = lower_usbv, , uppfilt_Service_InstWV

[DriverService64WV.ntamd64]
DisplayName=%SERVICE% 
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys

[uppfilt_Service_InstWV]
DisplayName    = "Filter PDO FSL"
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\lower_usbV.sys

;------------------------------------------------------------------------------
;			VID/PID Settings
;------------------------------------------------------------------------------

[SourceDisksFiles.amd64]
WdfCoInstaller01009.dll = 1,64
pmanlayer64.sys = 1,64
lower_usbV.sys = 1,64
					
[SourceDisksNames]					 
1 = %DiskId1%,,,""					

[SourceDisksFiles.x86]					
pmanlayer.sys  = 1,32
lower_usb.sys  = 1,32
WdfCoInstaller01009.dll = 1,32

[DeviceList.ntx86]                            
%DEV_DESCRIPTION%=DriverInstall32,USB\VID_15A2&PID_005A

[DeviceList.ntamd64.6.0]
%DEV_DESCRIPTION%=Driver64WV, USB\VID_15A2&PID_005A

[DeviceList.ntamd64]
%DEV_DESCRIPTION%=Driver64WV, USB\VID_15A2&PID_005A
;------------------------------------------------------------------------------
;  			        32 bits / 64 bits
;------------------------------------------------------------------------------              
                       
[MyDevice_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[MyDevice_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll 

[MyDevice_wdfsect]
KmdfLibraryVersion = 1.9
                 
[filterpdo_Service_Inst]
DisplayName    = %busupper.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\lower_usb.sys
LoadOrderGroup = Filter

;------------------------------------------------------------------------------
;  			String Definitions
;------------------------------------------------------------------------------

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Freescale"
DiskId1 = "Disk #1"
busenum.SVCDESC = "FDO_FSL"
busupper.SVCDESC = "Filter_PDO_FSL"
MFGNAME="FSL-MSG-IMM"
DEV_DESCRIPTION="USB2SER Remote WakeUp"
MANUFACTURER="Freescale Semiconductor Inc"
DRIVERFILENAME ="pmanlayer64"
SERVICE="PMLayer"
