; FCCable.inf
;
; Installation inf for the Freecom Cables V2.05c
;
; (c) Copyright 1999-2002 Freecom Technologies

[Version]
Signature		= "$CHICAGO$"
Compatible		= 1
Provider		= %FREECOM%
ClassGuid		= {4D36E96A-E325-11CE-BFC1-08002BE10318}
Class			= hdc
DriverVer		= 09/17/2002,5.1.3718.1
Catalogfile		= FCWDMW98.cat
Catalogfile.NT		= FCWDMWNT.cat


[ControlFlags]
ExcludeFromSelect = *


[DestinationDirs]
DefaultDestDir	= 10,System32\Drivers
CopyPDRFiles	= 10,System\Iosubsys

[SourceDisksFiles]
FCCable.sys	= 1
FCLogMsg.dll	= 1
FCPCMCIA.sys	= 1
FCUSB.sys	= 1
FCDrive.pdr	= 1

[SourceDisksNames]
1 = %DiskId1%,FCDisk1,

[Manufacturer]
%FREECOM%	= FREECOMDevs

[FREECOMDevs]
%CARDBUS.DeviceDesc%		= FC_CARDBUS, PCI\VEN_1691&DEV_0001
%PDR.DeviceDesc%		= FC_PDR, IDE\FREECOMDrive


[FC_PCMCIA.NT]
CopyFiles	= CopyGenericFiles, CopyPCMCIAFiles

[FC_USB.NT]
CopyFiles	= CopyGenericFiles, CopyUSBFiles

[FC_CARDBUS.NT]
CopyFiles	= CopyGenericFiles, CopyPCMCIAFiles

[FC_CARDBUS.NT.HW]
AddReg		= Policy_AddReg

[FC_PCMCIA]
AddReg		= GenericAddReg, PCMCIAAddReg, PCMCIAOverrideAddReg, Drives_W98_AddReg
CopyFiles	= CopyGenericFiles, CopyPCMCIAFiles

[FC_USB]
AddReg		= GenericAddReg, USBAddReg
CopyFiles	= CopyGenericFiles, CopyUSBFiles

[FC_CARDBUS]
AddReg		= GenericAddReg, PCMCIAAddReg, Drives_W98_AddReg
CopyFiles	= CopyGenericFiles, CopyPCMCIAFiles

[FC_PDR]
AddReg		= PDRAddReg
CopyFiles	= CopyPDRFiles



[CopyGenericFiles]
FCCable.sys
FCLogMsg.dll

[CopyPCMCIAFiles]
FCPCMCIA.sys

[CopyUSBFiles]
FCUSB.sys

[CopyPDRFiles]
FCDrive.pdr


[PDRAddReg]
HKR,,DevLoader,,*ios
HKR,,PortDriver,,FCDrive.pdr

[GenericAddReg]
HKR,,DevLoader,,*ntkern

[PCMCIAAddReg]
HKR,,NTMPDriver,,FCPCMCIA.sys

[PCMCIAOverrideAddReg]
HKR,Override,0000,1, \
00,04,00,00, \
00,00,00,00, \
24,00,00,00, \
02,00,00,00, \
01,00,0C,00, \
00,00,00,00, \
00,00,00,00, \
E0,FF,10,00, \
00,03,60,03, \
00,00,00,00, \
40,00,00,00, \
34,00,00,00, \
01,00,00,00, \
01,00, \
14,00, \
00,00,00,00, \
00,00,00,00, \
00,00, \
00,00, \
00,F0,FF,FF, \
00,10,00,00, \
00,00,00,00, \
FF,FF,FF,FF, \
00,00, \
00,00, \
08,00,00,00, \
00,10,00,00, \
14,00,00,00, \
04,00,00,00, \
00,00,00,00, \
FF,FF,00,00, \
20,00,00,00, \
19,00,00,00, \
7C,89,00,00, \
00,00,02,00, \
32,00,00,02, \
00,02,00,00, \
00,00,00,01, \
0F, \
00,00,00,00

[USBAddReg]
HKR,,NTMPDriver,,FCUSB.sys



[FC_PCMCIA.NT.Services]
AddService	= FCPCMCIA, %SPSVCINST_ASSOCSERVICE%, FCPCMCIA_Service_Inst, EventLog_Inst

[FC_USB.NT.Services]
AddService	= FCUSB, %SPSVCINST_ASSOCSERVICE%, FCUSB_Service_Inst, EventLog_Inst

[FC_CARDBUS.NT.Services]
AddService	= FCPCMCIA, %SPSVCINST_ASSOCSERVICE%, FCPCMCIA_Service_Inst, EventLog_Inst


[FCPCMCIA_Service_Inst]
DisplayName	= %FCPCMCIA.SvcDesc%
ServiceType	= %SERVICE_KERNEL_DRIVER%
StartType	= %SERVICE_DEMAND_START%
ErrorControl	= %SERVICE_ERROR_NORMAL%
LoadOrderGroup	= SCSI miniport
ServiceBinary	= %10%\System32\Drivers\FCPCMCIA.sys
AddReg		= Drives_WNT_AddReg

[FCUSB_Service_Inst]
DisplayName	= %FCUSB.SvcDesc%
ServiceType	= %SERVICE_KERNEL_DRIVER%
StartType	= %SERVICE_DEMAND_START%
ErrorControl	= %SERVICE_ERROR_NORMAL%
LoadOrderGroup	= SCSI miniport
ServiceBinary	= %10%\System32\Drivers\FCUSB.sys


[EventLog_Inst]
AddReg		= EventLog_AddReg



[EventLog_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\Drivers\FCLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7


; Use Decimal Values because of W98 Bug, which do not allow A-F in Hex-Values (crazy)
[Drives_W98_AddReg]
HKR,Parameters,Flags,0x10001,2
HKR,Parameters,DVD/CDRW_RW9087_________________________,0x10001,2814377984
HKR,Parameters,RICOH_DVD/CDRW_MP9060___________________,0x10001,2648702976
HKR,Parameters,CD-R/RW_RW8040A_________________________,0x10001,2680160256
HKR,Parameters,CD-540E_________________________________,0x10001,2814377984
HKR,Parameters,CD-532E-B_______________________________,0x10001,3351248896
HKR,Parameters,SAMSUNG_CD-ROM_SN-124___________________,0x10001,2814443520
HKR,Parameters,TORiSAN_CD-RW_CDW-U4424_________________,0x10001,2680160256
HKR,Parameters,Seagate_STT8000A________________________,0x10001,3888119808
HKR,Parameters,GENERIC_FREECOM32A______________________,0x10001,2814377984
HKR,Parameters,GENERIC_CRD-BP1600P_____________________,0x10001,2814377984
HKR,Parameters,GENERIC_FREECOM40A______________________,0x10001,2814377984
HKR,Parameters,GENERIC_CRD-BP1700P_____________________,0x10001,2814377984
HKR,Parameters,GENERIC_FREECOM24GS_____________________,0x10001,2814377984
HKR,Parameters,RW8240A_________________________________,0x10001,2814377984
HKR,Parameters,QSI_DVD-ROM_SDR-061_____________________,0x10001,2814377984
HKR,Parameters,QSI_DVD-ROM_SDR-081_____________________,0x10001,2814377984
HKR,Parameters,CD-W224EA_______________________________,0x10001,2814377984


; Use seperate W2k entries, because W98 Decimal Values don't work on W2k. Must use Hex Values (grrrrrr...)
[Drives_WNT_AddReg]
HKR,Parameters,Flags,0x00010001,0x00000002
HKR,Parameters,DVD/CDRW_RW9087_________________________,0x00010001,0xA7C00000
HKR,Parameters,RICOH_DVD/CDRW_MP9060___________________,0x00010001,0x9DE00000
HKR,Parameters,CD-R/RW_RW8040A_________________________,0x00010001,0x9FC00000
HKR,Parameters,CD-540E_________________________________,0x00010001,0xA7C00000
HKR,Parameters,CD-532E-B_______________________________,0x00010001,0xC7C00000
HKR,Parameters,SAMSUNG_CD-ROM_SN-124___________________,0x00010001,0xA7C10000
HKR,Parameters,TORiSAN_CD-RW_CDW-U4424_________________,0x00010001,0x9FC00000
HKR,Parameters,Seagate_STT8000A________________________,0x00010001,0xE7C00000
HKR,Parameters,GENERIC_FREECOM32A______________________,0x00010001,0xA7C00000
HKR,Parameters,GENERIC_CRD-BP1600P_____________________,0x00010001,0xA7C00000
HKR,Parameters,GENERIC_FREECOM40A______________________,0x00010001,0xA7C00000
HKR,Parameters,GENERIC_CRD-BP1700P_____________________,0x00010001,0xA7C00000
HKR,Parameters,GENERIC_FREECOM24GS_____________________,0x00010001,0xA7C00000
HKR,Parameters,RW8240A_________________________________,0x00010001,0xA7C00000
HKR,Parameters,QSI_DVD-ROM_SDR-061_____________________,0x00010001,0xA7C00000
HKR,Parameters,QSI_DVD-ROM_SDR-081_____________________,0x00010001,0xA7C00000
HKR,Parameters,CD-W224EA_______________________________,0x00010001,0xA7C00000


; 2 - ExpectOrderlyRemoval
; 3 - ExpectSurpriseRemoval
[Policy_AddReg]
HKR,,"RemovalPolicy",0x00010001,2


[FC_PCMCIA.NT.LogConfigOverride]
LogConfig	= FC_PCMCIA.LogConfig0, FC_PCMCIA.LogConfig1, FC_PCMCIA.LogConfig2, FC_PCMCIA.LogConfig3

[FC_PCMCIA.LogConfigOverride]
LogConfig	= FC_PCMCIA.LogConfig0, FC_PCMCIA.LogConfig1, FC_PCMCIA.LogConfig2, FC_PCMCIA.LogConfig3

[FC_PCMCIA.LogConfig0]
ConfigPriority	=NORMAL
IOConfig	=10@300-F00%FFE0
IRQConfig	=3,4,5,7,9,10,11,12,14,15
MemConfig	=800@0-FFFFFFFF%FFFFF800(RW)
PcCardConfig	=41:0:0(CC W M XI0 XM0)

[FC_PCMCIA.LogConfig1]
ConfigPriority	=NORMAL
IOConfig	=10@300-F00%FFE0
MemConfig	=800@0-FFFFFFFF%FFFFF800(RW)
PcCardConfig	=41:0:0(CC W M XI0 XM0)

[FC_PCMCIA.LogConfig2]
ConfigPriority	=NORMAL
IOConfig	=10@300-F00%FFE0
IRQConfig	=3,4,5,7,9,10,11,12,14,15
PcCardConfig	=41:0:0(CC W M XI0 XM0)

[FC_PCMCIA.LogConfig3]
ConfigPriority	=NORMAL
IOConfig	=10@300-F00%FFE0
PcCardConfig	=41:0:0(CC W M XI0 XM0)
            


[Strings]

REG_EXPAND_SZ		= 0x00020000
REG_DWORD		= 0x00010001

SPSVCINST_ASSOCSERVICE	= 0x00000002
SERVICE_KERNEL_DRIVER	= 1
SERVICE_DEMAND_START	= 3
SERVICE_ERROR_NORMAL	= 1


DiskId1			= "Freecom Technologies Installation Disk"
FREECOM			= "Freecom Technologies"
PCMCIA.DeviceDesc	= "Freecom Cable II PCMCIA"
USB.DeviceDesc		= "Freecom Cable II USB"
CARDBUS.DeviceDesc	= "Freecom Cable II CardBus"
PDR.DeviceDesc		= "Freecom Cable II Drive"
FCPCMCIA.SvcDesc	= "Freecom Cable II PCMCIA Driver"
FCUSB.SvcDesc		= "Freecom Cable II USB Driver"
