Simply stated I am having problems getting my function driver to install,
and or load itself as the function driver for my bus driver. If it does
install, the device object passed to it is for the PnPManager instead of the
class FibreGear.
Here is what I currently have in the device manager:
FibreGear
FC2100
FC2200
This was produced from the following INF excerpts:
Signature=“$WINDOWS NT$”
Class=%ClassName%
ClassGuid={781EF630-72B2-11d2-B852-00C04FAD5171}
Provider=%DFG%
DriverVer=10/19/2000, 3.00.0001.1
CatalogFile=FibreGear.cat
; ================= Class section =====================
[ClassInstall32]
Addreg=FibreGearClassReg
[FibreGearClassReg]
HKR,%ClassName%
[DFG]
%FibreGear.DeviceDesc1%=FibreGear_Device, PCI\VEN_1077&DEV_2100
%FibreGear.DeviceDesc2%=FibreGear_Device, PCI\VEN_1077&DEV_2200
%FibreGear.DeviceDesc3%=FibreGear_Device, PCI\VEN_1077&DEV_2300
[FibreGear_Device.NT]
CopyFiles=Drivers_Dir,FibreGear_Dir,FibreGearCoInstal_Dir
DFG = “Delphi FibreGear, Inc.”
ClassName = “FibreGear”
FibreGear.DeviceDesc1 = “FC2100”
FibreGear.DeviceDesc2 = “FC2200”
FibreGear.DeviceDesc3 = “FC2300”
The FibreGear service is loaded in the System Bus Extender group.
FgPeer is the function driver and is to load in the Extended Base group.
However when I attempt to install it, I get “The specified location does not
contain information about your hardware.” The INF file I’m using to load
FgPeer is as follows: Note that the line under [DFG] does not appear to be
completed, because I haven’t “stumbled” on what goes in there to make the
PnP Manager load FgPeer as the FDO for FibreGear.
[Version]
Signature=“$WINDOWS NT$”
Provider=%DFG%
Class=%ClassName%
ClassGuid={781EF630-72B2-11d2-B852-00C04FAD5171}
DriverVer=10/19/2000, 3.00.0001.1
CatalogFile=FgPeer.cat
[DestinationDirs]
Drivers_Dir = 12
[SourceDisksNames]
1 = %DiskId1%,“”
[SourceDisksFiles]
FgPeer.sys = 1,
;*****************************************
; FibreGear Peer to Peer Install Section
;*****************************************
[Manufacturer]
%DFG%=DFG
[DFG]
%FgPeer.DeviceDesc%=FgPeer_Device,
[FgPeer_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
FgPeer.sys
;-------------- Event Log registration
[FgPeer_EventLog_Inst]
AddReg = FgPeer_EventLog_Inst.AddReg
[FgPeer_EventLog_Inst.AddReg]
HKR,EventMessageFile,%REG_EXPAND_SZ%,“%%SystemRoot%%\System32\IoLogMsg.dll;
%%SystemRoot%%\System32\Drivers\FgPeer.sys”
HKR,TypesSupported,%REG_DWORD%,7
;-------------- Service installation
[FgPeer_Device.NT.Services]
AddService = FgPeer,%SPSVCINST_ASSOCSERVICE%, FgPeer_Service_Inst,
FgPeer_EventLog_Inst
; -------------- Fibre Gear driver install sections
[FgPeer_Service_Inst]
DisplayName = %FgPeer.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 2 ; SERVICE_AUTO_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\FgPeer.sys
LoadOrderGroup = Extended Base
[Strings]
SPSVCINST_ASSOCSERVICE=
DFG = “Delphi FibreGear, LLC”
ClassName = “FibreGear”
DiskId1 = “Delphi FibreGear Drivers Installation Disk #1”
FgPeer.DeviceDesc = “FgPeer”
FgPeer.SVCDESC = “FibreGear Peer to Peer Driver”