;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;   PURPOSE.
;
;Module Name:
;
;    IMXUSB.INF
;
;Abstract:
;    Installation inf for the Freescale i.MX Evaluation Boards
;    This is a mutlios INF file. Same INF file cab be used on
;    x86, and amd64 platforms.
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36fc9e60-c465-11cf-8056-444553540000}
Provider=%MfgName%
DriverVer=01/06/2012,6.1.7600.16385
CatalogFile.ntx86=imxusb.cat
CatalogFile.ntamd64=imxusb.x64.cat

[SourceDisksNames.x86]
1=%Disk_Description%,,,\i386

[SourceDisksNames.amd64]
1=%Disk_Description%,,,\amd64

[SourceDisksFiles]
imxusb.sys=1
WdfCoInstaller01009.dll=1

[DestinationDirs]
DefaultDestDir = 12
CoInstaller_CopyFiles = 11

; ================= Device section =====================

[Manufacturer]
%MfgName%=iMX_ModelSection,nt,ntamd64

[iMX_ModelSection.nt]
%USB\VID_15A2&PID_003A.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_003A   ; Freescale i.MX25 board
%USB\VID_15A2&PID_0030.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_0030   ; Freescale i.MX35 board
%USB\VID_15A2&PID_0041.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_0041   ; Freescale i.MX51 board
%USB\VID_15A2&PID_004E.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_004E   ; Freescale i.MX53 board

[iMX_ModelSection.ntamd64]
%USB\VID_15A2&PID_003A.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_003A   ; Freescale i.MX25 board
%USB\VID_15A2&PID_0030.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_0030   ; Freescale i.MX35 board
%USB\VID_15A2&PID_0041.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_0041   ; Freescale i.MX51 board
%USB\VID_15A2&PID_004E.DeviceDesc%=iMX_USB_Device, USB\VID_15A2&PID_004E   ; Freescale i.MX53 board

[iMX_USB_Device.nt]
CopyFiles=iMX_USB_Device_Copy

[iMX_USB_Device.ntamd64]
CopyFiles=iMX_USB_Device_Copy

[iMX_USB_Device_Copy]
imxusb.sys

;-------------- Service installation

[iMX_USB_Device.nt.Services]
Addservice = imxusb, 0x00000002, imxusb_AddService

[iMX_USB_Device.ntamd64.Services]
Addservice = imxusb, 0x00000002, imxusb_AddService

[imxusb_AddService]
DisplayName    = %imxusb.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\imxusb.sys
LoadOrderGroup = Base
AddReg         = imxusb_AddReg

[imxusb_AddReg]
HKR,"Parameters","MaximumTransferSize",0x10001,4194304
HKR,"Parameters","DebugLevel",0x10001,2

[iMX_USB_Device.nt.Wdf]
KmdfService = imxusb, imxusb_wdfsect

[iMX_USB_Device.ntamd64.Wdf]
KmdfService = imxusb, imxusb_wdfsect

[imxusb_wdfsect]
KmdfLibraryVersion = 1.9

;-------------- WDF Coinstaller installation

[iMX_USB_Device.nt.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[iMX_USB_Device.ntamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[Strings]
MfgName          = "Freescale"
Disk_Description = "iMXUSB Installation Disk"
imxusb.SvcDesc   = "Freescale i.MX USB BulkIO Device Driver"
USB\VID_15A2&PID_003A.DeviceDesc="Freescale i.MX25 USB BulkIO Device"
USB\VID_15A2&PID_0030.DeviceDesc="Freescale i.MX35 USB BulkIO Device"
USB\VID_15A2&PID_0041.DeviceDesc="Freescale i.MX51 USB BulkIO Device"
USB\VID_15A2&PID_004E.DeviceDesc="Freescale i.MX53 USB BulkIO Device"


