Re: NDIS WDM driver installation for multi-port NIC
- From: DW <DZ@xxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 05:05:02 -0700
--------------------------------------------------------------------------------
Bus driver inf (separate install # 1):
[Version]
Signature="$WINDOWS NT$"
;Class=System
;ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Foo%
DriverVer=09/28/2006,1.00.00.0000
CatalogFile=C5eBus.cat
[DestinationDirs]
Drivers_Dir = 12
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
C5eBus.sys = 1,,
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%StdMfg%=Standard
[Standard]
%C5eBus.DeviceDesc%=C5eBus_Device, PCI\VEN_150E&DEV_0002
[C5eBus_Device.NT]
Characteristics = 0x84
BusType = 5
CopyFiles=Drivers_Dir
[C5eBus_Device.NT.HW]
AddReg = C5eBus.reg
[Drivers_Dir]
C5eBus.sys
;-------------- Service installation
[C5eBus_Device.NT.Services]
AddService = C5eBus,%SPSVCINST_ASSOCSERVICE%, C5eBus_Service_Inst
; -------------- driver install sections
; How the driver behaves as a service
[C5eBus_Service_Inst]
DisplayName = %C5eBus.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START not Automatic
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\C5eBus.sys
LoadOrderGroup = Extended Base
[C5eBus.reg]
HKR,,"C5AnnounceInterfacesAtStartup",0x00010001,0
HKR, , UpperFilters, 0x00010000, "NdisEdge"
HKR,,"IsUpperEdgeNdis",0x00010003,1
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Foo = "Foo"
StdMfg = "(Standard system devices)"
ImageFile = "Image File"
DiskId1 = "C5 Bus Installation Disk #1"
C5eBus.DeviceDesc = "C5e Bus Enumerator"
C5eBus.SVCDESC = "C5e Bus Enumerator"
--------------------------------------------------------------------------------
Miniport driver inf (separate install # 2):
[Version]
Signature="$WINDOWS NT$"
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Foo%
DriverVer=09/28/2006,1.00.00.0000
CatalogFile=c5net.cat
[ControlFlags]
ExcludeFromSelect=*
[DestinationDirs]
Drivers_Dir = 12
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
NdisEdge.sys = 1,,
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%StdMfg%=Standard
[Standard]
%C5Net.DeviceDesc%=C5Net_Device,
{4d36e972-e325-11ce-bfc1-08002be10318}\C5Net
[C5Net_Device.NT]
;Characteristics = 0x84
Characteristics = 0x81
BusType = 1
CopyFiles=Drivers_Dir
AddReg = NETDRV.Reg
[Drivers_Dir]
NdisEdge.sys,,,2
;-------------- Service installation
[C5Net_Device.NT.Services]
AddService = NdisEdge, , NdisEdge.Service
; -------------- driver install sections
; How the driver behaves as a service
[NdisEdge.Service]
DisplayName = %NdisEdge.Service.DispName%
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_DEMAND_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\NdisEdge.sys
LoadOrderGroup = NDIS
AddReg = TextModeFlags.Reg
[TextModeFlags.Reg]
HKR, , TextModeFlags, 0x00010001, 0x0001
[NETDRV.Reg]
HKR, , BusNumber, 0, "0"
HKR, Ndi, Service, 0, "NdisEdge"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Foo = "Foo"
StdMfg = "Foo"
ImageFile = "Image File"
DiskId1 = "Foo C5 Net Installation Disk #1"
C5Net.DeviceDesc = "C5 SuperNet"
C5Net.SVCDESC = "C5Net Service Image"
NdisEdge.Service.DispName = "Minimax Service"
--------------------------------------------------------------------------------
Original inf (combined install):
[Version]
Signature="$WINDOWS NT$"
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Foo%
DriverVer=09/28/2006,1.00.00.0000
CatalogFile=C5net.cat
[DestinationDirs]
Drivers_Dir = 12
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
C5eBus.sys = 1,,
NdisEdge.sys = 1,,
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%StdMfg%=Standard
[Standard]
%C5eBus.DeviceDesc%=C5eBus_Device, PCI\VEN_150E&DEV_0002
[C5eBus_Device.NT]
Characteristics = 0x84
BusType = 5
CopyFiles=Drivers_Dir
AddReg = NETDRV.Reg
[C5eBus_Device.NT.HW]
AddReg = C5eBus.reg
[Drivers_Dir]
C5eBus.sys,,,2
NdisEdge.sys,,,2
;-------------- Service installation
[C5eBus_Device.NT.Services]
AddService = C5eBus,%SPSVCINST_ASSOCSERVICE%, C5eBus_Service_Inst
AddService = NdisEdge, , NdisEdge.Service
; -------------- driver install sections
; How the driver behaves as a service
[C5eBus_Service_Inst]
DisplayName = %C5eBus.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START not Automatic
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\C5eBus.sys
LoadOrderGroup = NDIS
[NdisEdge.Service]
DisplayName = %NdisEdge.Service.DispName%
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_DEMAND_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\NdisEdge.sys
LoadOrderGroup = NDIS
AddReg = TextModeFlags.Reg
[TextModeFlags.Reg]
HKR, , TextModeFlags, 0x00010001, 0x0001
[C5eBus.reg]
HKR,, "C5AnnounceInterfacesAtStartup", 0x00010001, 0
HKR, , UpperFilters, 0x00010000, "NdisEdge"
HKR,,"IsUpperEdgeNdis",0x00010003,1
[NETDRV.Reg]
HKR, , BusNumber, 0, "0"
HKR, Ndi, Service, 0, "C5eBus"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Foo = "Foo"
StdMfg = "Foo"
ImageFile = "Image File"
DiskId1 = "C5 Bus Installation Disk #1"
C5eBus.DeviceDesc = "C5 SuperNet"
C5eBus.SVCDESC = "C5e Bus Service Image"
NdisEdge.Service.DispName = "Minimax Service"
--------------------------------------------------------------------------------
"Eliyas Yakub [MSFT]" wrote:
Please post your complete INF. If you are using two INFs then post both of.
them.
-Eliyas
- References:
- Re: NDIS WDM driver installation for multi-port NIC
- From: Don Burn
- Re: NDIS WDM driver installation for multi-port NIC
- From: DW
- Re: NDIS WDM driver installation for multi-port NIC
- From: Don Burn
- Re: NDIS WDM driver installation for multi-port NIC
- From: DW
- Re: NDIS WDM driver installation for multi-port NIC
- From: Don Burn
- Re: NDIS WDM driver installation for multi-port NIC
- From: DW
- Re: NDIS WDM driver installation for multi-port NIC
- From: Eliyas Yakub [MSFT]
- Re: NDIS WDM driver installation for multi-port NIC
- Prev by Date: Driver won't stay loaded
- Next by Date: RNDIS debug driver cause system reboot
- Previous by thread: Re: NDIS WDM driver installation for multi-port NIC
- Next by thread: Re: NDIS WDM driver installation for multi-port NIC
- Index(es):
Relevant Pages
|
|