; mosflt.inf
;
; Installation inf for USB Host filter driver.
;
; (c) Copyright 2008, Moschip
;

[Version]
Signature="$Windows NT$"
Provider=%PROVIDER%
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
CatalogFile=mosflt.cat
DriverVer=12/09/2009,1.0.0.1

[DestinationDirs]
DefaultDestDir   = 12

;
; Driver information
;
[Manufacturer]
%PROVIDER% = PROVIDER.Mfg, NT.5.1, NTamd64

[PROVIDER.Mfg]
%Moschip_EHCI% = Ehciflt_2K_USB2, PCI\VEN_9710&DEV_9990&CC_0C0320
%Moschip_OHCI% = Ohciflt_2K_USB2, PCI\VEN_9710&DEV_9990&CC_0C0310

[PROVIDER.Mfg.NT.5.1]
%Moschip_EHCI% = Ehciflt_USB2, PCI\VEN_9710&DEV_9990&CC_0C0320
%Moschip_OHCI% = Ohciflt_USB2, PCI\VEN_9710&DEV_9990&CC_0C0310

[PROVIDER.Mfg.NTamd64]
%Moschip_EHCI% = Ehciflt_USB2, PCI\VEN_9710&DEV_9990&CC_0C0320
%Moschip_OHCI% = Ohciflt_USB2, PCI\VEN_9710&DEV_9990&CC_0C0310

;
; General installation section
;

; For Windows 2000 Only

[Ehciflt_2K_USB2.NT]
Include=usb.inf
Needs=EHCI.NT
CopyFiles=mosflt.CopyFiles

[Ehciflt_2K_USB2.NT.Services]
Include=usb.inf
Needs=EHCI.NT.Services
AddService = mosflt,  , mosflt_Service_Inst

[Ehciflt_2K_USB2.NT.HW]
; Add the device lower filter
AddReg = mosflt.HW.AddReg

[Ohciflt_2K_USB2.NT]
Include=usb.inf
Needs=OHCI.NT
CopyFiles=mosflt.CopyFiles

[Ohciflt_2K_USB2.NT.Services]
Include=usb.inf
Needs=OHCI.NT.Services
AddService = mosflt,  , mosflt_Service_Inst

[Ohciflt_2K_USB2.NT.HW]
; Add the device lower filter
AddReg = mosflt.HW.AddReg

; For Windowns XP and greater

[Ehciflt_USB2.NT]
Include=usbport.inf
Needs=EHCI.Dev.NT
CopyFiles=mosflt.CopyFiles

[Ehciflt_USB2.NT.Services]
Include=usbport.inf
Needs=EHCI.Dev.NT.Services
AddService = mosflt,  , mosflt_Service_Inst

[Ehciflt_USB2.NT.HW]
; Add the device lower filter
AddReg = mosflt.HW.AddReg

[Ehciflt_USB2.NT.CoInstallers]
Include=usbport.inf
Needs=EHCI.Dev.NT.CoInstallers

[Ohciflt_USB2.NT]
Include=usbport.inf
Needs=OHCI.Dev.NT
CopyFiles=mosflt.CopyFiles

[Ohciflt_USB2.NT.Services]
Include=usbport.inf
Needs=OHCI.Dev.NT.Services
AddService = mosflt,  , mosflt_Service_Inst

[Ohciflt_USB2.NT.HW]
; Add the device lower filter
AddReg = mosflt.HW.AddReg

;
; File sections
;
[mosflt.CopyFiles]
mosflt.sys

;
; Service Installation
;
[mosflt_Service_Inst]
DisplayName    = %mosflt.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
LoadOrderGroup = Base
ServiceBinary  = %12%\mosflt.sys

[mosflt.HW.AddReg]
HKR,,"LowerFilters",0x00010000,"mosflt"

;
; Source file information
;

[SourceDisksNames]
1 = %DiskId1%,,,

[SourceDisksFiles]
mosflt.sys = 1,,

[Strings]
;
; Non-Localizable Strings
;

;
; Localizable Strings
;
DiskId1 = "USB Host Filter Installation Disk #1"
PROVIDER = "Moschip"
Moschip_EHCI = "Moschip USB Enhanced Host Controller"
Moschip_OHCI = "Moschip OpenHCD USB Host Controller"
mosflt.SvcDesc="USB Host Lower Filter"