; NEHCD.INF
; Copyright (c) 2003 NEC Electronics
;  include NEHCD, NUSBD, NUSBH, NUSBCP

[Version]
Signature="$CHICAGO$"
Provider=%unknown%
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
LayoutFile=layout.inf,layout1.inf,layout2.inf
DriverVer = 03/03/2003,03.03

[SourceDisksNames]
1=%OurSuppliedDisk%,,,

[SourceDisksFiles]
nehcd.sys = 1
nusbd.sys = 1
nusbh.sys = 1
nusbcp.sys = 1

[DestinationDirs]
EHCI.Files.Ext = 10,SYSTEM32\DRIVERS
EHCI.DelFiles.Ext = 10,SYSTEM32\DRIVERS
DefaultDestDir = 10,SYSTEM32\DRIVERS

;[ClassInstall]
;Addreg=USBClassReg

[USBClassReg]
HKR,,,,%USBClassName%
HKR,,Icon,,-20
HKR,,NoInstallClass,,1

[ClassInstall32]
Addreg=USBClassReg

[Manufacturer]
%NEC%=NEC

[NEC]
; Host PCI
%EHCI.DeviceDesc%=EHCI,PCI\VEN_1033&DEV_00E0&CC_0C0320
;%EHCI.DeviceDesc%=EHCI,PCI\VEN_1033&DEV_00E0&SUBSYS_00000000
; Hub
%USB2HUB.DeviceDesc%=USB2HUB,USB2\VID_0409&PID_0058
%USB2\CLASS_09.DeviceDesc%=USB2HUB,USB2\CLASS_09
; Composite
%USB2\COMPOSITE.DeviceDesc%=USB2CP,USB2\COMPOSITE

;---------------------
; EHCI
;---------------------
[EHCI]
CopyFiles=EHCI.Files.Ext
DelFiles=EHCI.DelFiles.Ext
AddReg=EHCI.AddReg

[EHCI.NT]
CopyFiles=EHCI.Files.Ext
DelFiles=EHCI.DelFiles.Ext
AddReg=EHCI.AddReg.NT

[EHCI.NT.HW]
AddReg=EHCI.AddReg.NT.HW

[EHCI.NT.Services]
AddService = nehcd, 0x00000002, EHCI.AddService
AddService = nusbd,,Filter_Service_Inst1

[EHCI.AddService]
DisplayName    = %EHCI.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\nehcd.sys
LoadOrderGroup = Base

[Filter_Service_Inst1]
DisplayName    = %EHCI.DeviceDesc1%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
ServiceBinary  = %10%\System32\Drivers\nusbd.sys
LoadOrderGroup = extended base

[EHCI.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"nehcd.sys,nusbd.sys"
HKR,,ParentClass,,System
HKR,,ProcessControl,0x00010001,0x00000001

[EHCI.AddReg.NT]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,nehcd.sys
HKR,,ParentClass,,System
HKR,,ProcessControl,0x00010001,0x00000001

[EHCI.AddReg.NT.HW]
HKR,,"UpperFilters",0x00010000,"nusbd"

[EHCI.Files.Ext]
nehcd.sys
nusbd.sys
nusbh.sys
nusbcp.sys

[EHCI.DelFiles.Ext]
nehcd.sys,,,1
nusbd.sys,,,1
nusbh.sys,,,1
nusbcp.sys,,,1

;---------------------
; USB2HUB
;---------------------
[USB2HUB]
AddReg=USB2HUB.AddReg

[USB2HUB.NT]
AddReg=USB2HUB.AddReg

[USB2HUB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"nusbh.sys"

[USB2HUB.NT.Services]
AddService = nusbh, 0x00000002, USB2HUB.AddService

[USB2HUB.AddService]
DisplayName    = %USB2HUB.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\nusbh.sys
LoadOrderGroup = extended base

;---------------------
; USB2CP
;---------------------
[USB2CP]
AddReg=USB2CP.AddReg

[USB2CP.NT]
AddReg=USB2CP.AddReg

[USB2CP.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"nusbcp.sys"

[USB2CP.NT.Services]
AddService = nusbcp, 0x00000002, USB2CP.AddService

[USB2CP.AddService]
DisplayName    = %USB2\COMPOSITE.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\nusbcp.sys
LoadOrderGroup = extended base


[Strings]
NEC = "NEC"
EHCI.DeviceDesc     = "NEC PCI to USB Enhanced Host Controller"
EHCI.DeviceDesc1    = "NEC PCI to USB Enhanced Host Controller UpperFilter"

; Hub
USB2HUB.DeviceDesc  = "NEC USB Hub for USB2.0"
USB2\CLASS_09.DeviceDesc = "Generic USB Hub for USB2.0"
; Composite
USB2\COMPOSITE.DeviceDesc = "Generic USB Composite Device for USB2.0"

OurSuppliedDisk     = "NEC EHCI Driver Installation Disk"
USBClassName        = "Universal Serial Bus Controller"
