; Copyright 2001
; Microsoft Corporation
; USB 2.0 Add-On Driver support
; For Windows XP
;

[Version]
signature="$Windows NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%Msft%
DriverVer=02/01/2002,5.1.2600.0
CatalogFile=USB2X.CAT

[SourceDisksNames]
1=%Distribution%,usbehci.sys,, 

[SourceDisksFiles]
usbehci.sys = 1
hccoin.dll = 1

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir=11               ; LDID_SYS
EHCIXP.CopyFiles.NT       = 10, system32\drivers
USBHCCOIN.CpoyFiles.NT    = 11

; =================== Table of content =========================
; note that these are in alphabetical order
;

[Manufacturer]
%NEC.MFG%        = NEC.Section, NTx86.5.1
%INTEL.MFG%      = INTEL.Section, NTx86.5.1

; --------------------------------------------------------------
; EHCI - For Windows XP...
; --------------------------------------------------------------

[EHCIXP]
AddReg=EHCIXP.AddReg
CopyFiles=EHCIXP.CopyFiles.NT
DelFiles=EHCIXP.DelFiles.NT

[EHCIXP.Services]
AddService = usbehci, 0x00000002, EHCIXP.AddService

[EHCIXP.AddReg]
HKR,,EnumPropPages32,,"usbui.dll,USBControllerPropPageProvider"
HKR,,Controller,1,01

[EHCIXP.CopyFiles.NT]
usbehci.sys

[EHCIXP.DelFiles.NT]
usbehci.sys

[EHCIXP.AddService]
DisplayName    = %EHCIMP.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\usbehci.sys
LoadOrderGroup = Base

; XP coinstaller
[EHCIXP.CoInstallers]
CopyFiles=USBHCCOIN.CpoyFiles.NT
AddReg=EHCIXP.CoInstallers_AddReg

[EHCIXP.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"hccoin.dll,HCCOIN_Entry"

[USBHCCOIN.CpoyFiles.NT]
hccoin.dll

; --------------------------------------------------------------
; XP root hub -  xp uses default hub driver
; --------------------------------------------------------------

[ROOTHUB2XP]
CopyFiles=HUBXP.CopyFiles.NT
DelFiles=HUBXP.DelFiles.NT
AddReg=ROOTHUB2XP.AddReg.NT
DelReg=ROOTHUB2XP.DelReg.NT

[HUBXP.CopyFiles.NT]
; use usbhub.sys on the Windows XP system

[HUBXP.DelFiles.NT]
; leave usbhub.sys on the system

[ROOTHUB2XP.AddReg.NT]
HKR,,EnumPropPages32,,"usbui.dll,USBHubPropPageProvider"

[ROOTHUB2XP.DelReg.NT]
HKLM,System\CurrentControlSet\Services\usbhub20

[ROOTHUB2XP.Services]
AddService = usbhub, 0x00000002, ROOTHUB2XP.AddService
DelService = usbhub20

[ROOTHUB2XP.AddService]
DisplayName    = %ROOTHUB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\usbhub.sys
LoadOrderGroup = Base



; =================== Vendor Sections ==============================

[NEC.Section.NTx86.5.1]
%PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc%=EHCIXP,PCI\VEN_1033&DEV_00E0&REV_01
%PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc%=EHCIXP,PCI\VEN_1033&DEV_00E0&REV_02
%USB\ROOT_HUB20.DeviceDesc%=ROOTHUB2XP,USB\ROOT_HUB20


[INTEL.Section.NTx86.5.1]
%PCI\VEN_8086&DEV_24CD.DeviceDesc%=EHCIXP,PCI\VEN_8086&DEV_24CD

;=================== Strings Sections =======================

[Strings] 
Distribution="Windows XP USB 2.0 (EHCI) Driver Disk"
Msft="Microsoft"
USBClassName="Universal Serial Bus controllers"

EHCIMP.SvcDesc="Microsoft USB 2.0 Enhanced Host Controller Miniport Driver"

;Vendor List

NEC.MFG        = "NEC"
INTEL.MFG      = "INTEL"

;Device List
PCI\VEN_1033&DEV_00E0&REV_01.DeviceDesc="NEC PCI to USB Enhanced Host Controller B0"
PCI\VEN_1033&DEV_00E0&REV_02.DeviceDesc="NEC PCI to USB Enhanced Host Controller B1"

PCI\VEN_8086&DEV_24CD.DeviceDesc="Intel PCI to USB Enhanced Host Controller"

USB\ROOT_HUB20.DeviceDesc="USB 2.0 Root Hub"
USB\HubClass.DeviceDesc="HUB Support for USB 2.0"

ROOTHUB.SvcDesc="USB Root Hub (usbport)"

