Jump to content

D-Link DGE-530T Driver


BeenThereB4

Recommended Posts

Anybody have any tips on integrating this driver into Winpe? The obvious method of adding the inf to the inf directory and the sys file to drivers does not work. I tried adding the mof file to system32\wbem\mof also. There must be a trick! Here is the inf:

; NETM4CX.INF
;
; D-Link DGE-530T Gigabit Ethernet Adapter
;
; (C)Copyright 2003, D-Link Corporation.
;
; All rights reserved
;
; INF File for NDIS5.X Miniport Driver for Windows 98SE, ME, 2000, XP (x86)

[Version]
Signature    = "$Chicago$"
Compatible  = 1
Class  = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %DLINK%
CatalogFile  = m4cx.cat
DriverVer=08/27/2003, 6.23.0.0

[Manufacturer]
%DLINK% = DLINK,NT.5.1

[DLINK.NT.5.1]
%DGE530T.DeviceDesc% = dge530tXP, PCI\VEN_1186&DEV_4C00&SUBSYS_4C001186

[DLINK]
%DGE530T.DeviceDesc% = dge530t, PCI\VEN_1186&DEV_4C00&SUBSYS_4C001186


;-------------------------------------------------------------------------------
; Gigabit Ethernet Adapters
[dge530t]
AddReg  = m4cxw9x.reg, m4cxw9x.params, m4cx.V2.Copper.params
Characteristics = 0x84
BusType  = 5
CopyFiles = m4cxw9x.copy

[dge530t.Services]
AddService = "m4cxw9x", 2, m4cxw9x.Service, w9x.EventLog


[dge530t.NTx86]
AddReg  = m4cxnt5x.reg, m4cxnt5x.params, m4cx.V2.Copper.params
Characteristics = 0x84
BusType  = 5
CopyFiles = m4cxw2k.copy.NTx86


CopyFiles = wmi.CopyFiles

[dge530t.NTx86.Services]
AddService = "m4cxw2k", 2, m4cxw2k.Service, w2k.EventLog



[dge530tXP.NTx86]
AddReg  = m4cxnt5x.reg, m4cxnt5x.params, m4cx.V2.Copper.params
Characteristics = 0x84
BusType  = 5
CopyFiles = m4cxwxp.copyXP.NTx86


CopyFiles = wmi.CopyFiles

[dge530tXP.NTx86.Services]
AddService = "m4cxwxp", 2, m4cxwxp.Service, wxp.EventLog

;-------------------------------------------------------------------------------
; General Driver Parameters
;
[m4cxw9x.params]
HKR, Ndi\Params\NetworkAddress, Flag, 1,20,0,0,0
HKR, Ndi\Params\MaxFrameSize, Flag, 1,20,0,0,0
HKR, Ndi\Params\MaxReceives, Flag, 1,20,0,0,0
HKR, Ndi\Params\MaxTransmits, Flag, 1,20,0,0,0


HKR, Ndi\Params\NetworkAddress, ParamDesc,, %NetAddress%
HKR, Ndi\Params\NetworkAddress, Type,,  "edit"
HKR, Ndi\Params\NetworkAddress, LimitText,, "18"
HKR, Ndi\Params\NetworkAddress, UpperCase,, "1"
HKR, Ndi\Params\NetworkAddress, Default,, ""
HKR, Ndi\Params\NetworkAddress, Optional,, "1"

HKR, Ndi\Params\MaxFrameSize, ParamDesc,, %MaxFrSize%
HKR, Ndi\Params\MaxFrameSize, Type,,  "enum"
HKR, Ndi\Params\MaxFrameSize\enum,1514,, %Off%
HKR, Ndi\Params\MaxFrameSize\enum,9014,, %On%
HKR, Ndi\Params\MaxFrameSize, Default,, "1514"

HKR, Ndi\Params\MaxReceives, ParamDesc,, %NumRcv%
HKR, Ndi\Params\MaxReceives, Type,,  "int"
HKR, Ndi\Params\MaxReceives, Base,,  "10"
HKR, Ndi\Params\MaxReceives, Min,,  "3"
HKR, Ndi\Params\MaxReceives, Max,,  "500"
HKR, Ndi\Params\MaxReceives, Step,,  "1"
HKR, Ndi\Params\MaxReceives, Default,, "50"

HKR, Ndi\Params\MaxTransmits, ParamDesc,, %NumTx%
HKR, Ndi\Params\MaxTransmits, Type,,  "int"
HKR, Ndi\Params\MaxTransmits, Base,,  "10"
HKR, Ndi\Params\MaxTransmits, Min,,  "4"
HKR, Ndi\Params\MaxTransmits, Max,,  "200"
HKR, Ndi\Params\MaxTransmits, Step,,  "1"
HKR, Ndi\Params\MaxTransmits, Default,, "50"

HKR, Ndi\Params\FlowControl_A, ParamDesc,, %FlowCtrlA%
HKR, Ndi\Params\FlowControl_A, Type,,  "enum"
HKR, Ndi\Params\FlowControl_A\enum,3,,  %On%
HKR, Ndi\Params\FlowControl_A\enum,0,,  %Off%
HKR, Ndi\Params\FlowControl_A, Default,, "3"

HKR,, MaxMulticast,,          "128"
HKR,, WaitForRxResources,,    "1"
HKR,, SGMapRegistersNeeded,,  "64"
HKR,, MessageLog,,            "4"
HKR,, Moderate,,        "1"
HKR,, FixedIntMod,,        "5000"


[m4cxnt5x.params]
HKR, Ndi\Params\NetworkAddress, ParamDesc,, %NetAddress%
HKR, Ndi\Params\NetworkAddress, Type,,  "edit"
HKR, Ndi\Params\NetworkAddress, LimitText,, "18"
HKR, Ndi\Params\NetworkAddress, UpperCase,, "1"
HKR, Ndi\Params\NetworkAddress, Default,, ""
HKR, Ndi\Params\NetworkAddress, Optional,, "1"

HKR, Ndi\Params\MaxFrameSize, ParamDesc,, %MaxFrSize%
HKR, Ndi\Params\MaxFrameSize, Type,,  "enum"
HKR, Ndi\Params\MaxFrameSize\enum,1514,, %Off%
HKR, Ndi\Params\MaxFrameSize\enum,9014,, %On%
HKR, Ndi\Params\MaxFrameSize, Default,, "1514"

HKR, Ndi\Params\HwChecksum, ParamDesc,, %HwCsum%
HKR, Ndi\Params\HwChecksum, Type,,  "enum"
HKR, Ndi\Params\HwChecksum\enum,1,,  %On%
HKR, Ndi\Params\HwChecksum\enum,0,,  %Off%
HKR, Ndi\Params\HwChecksum, Default,, "1"

HKR, Ndi\Params\MaxReceives, ParamDesc,, %NumRcv%
HKR, Ndi\Params\MaxReceives, Type,,  "int"
HKR, Ndi\Params\MaxReceives, Base,,  "10"
HKR, Ndi\Params\MaxReceives, Min,,  "3"
HKR, Ndi\Params\MaxReceives, Max,,  "500"
HKR, Ndi\Params\MaxReceives, Step,,  "1"
HKR, Ndi\Params\MaxReceives, Default,, "50"

HKR, Ndi\Params\MaxTransmits, ParamDesc,, %NumTx%
HKR, Ndi\Params\MaxTransmits, Type,,  "int"
HKR, Ndi\Params\MaxTransmits, Base,,  "10"
HKR, Ndi\Params\MaxTransmits, Min,,  "4"
HKR, Ndi\Params\MaxTransmits, Max,,  "200"
HKR, Ndi\Params\MaxTransmits, Step,,  "1"
HKR, Ndi\Params\MaxTransmits, Default,, "50"

HKR, Ndi\Params\FlowControl_A, ParamDesc,, %FlowCtrlA%
HKR, Ndi\Params\FlowControl_A, Type,,  "enum"
HKR, Ndi\Params\FlowControl_A\enum,3,,  %On%
HKR, Ndi\Params\FlowControl_A\enum,0,,  %Off%
HKR, Ndi\Params\FlowControl_A, Default,, "3"

HKR, Ndi\Params\TagHeaderSupport_A, ParamDesc,, %QoSSupA%
HKR, Ndi\Params\TagHeaderSupport_A, Type,,  "enum"
HKR, Ndi\Params\TagHeaderSupport_A\enum,1,,  %On%
HKR, Ndi\Params\TagHeaderSupport_A\enum,0,,  %Off%
HKR, Ndi\Params\TagHeaderSupport_A, Default,, "0"

HKR,, MaxMulticast,,          "128"
HKR,, WaitForRxResources,,    "1"
HKR,, SGMapRegistersNeeded,,  "64"
HKR,, MessageLog,,  "4"
HKR,, Moderate,,  "1"
HKR,, FixedIntMod,,  "5000"

;-------------------------------------------------------------------------------
; Additional Driver Parameters for Version 2.0 Copper Adapters
;
[m4cx.V2.Copper.params]
;
; Configurable Parameters
;

HKR, Ndi\Params\WakeUpModeCap_A,       ParamDesc,, %WakeUpCaps%
HKR, Ndi\Params\WakeUpModeCap_A,       type,,  "enum"
HKR, Ndi\Params\WakeUpModeCap_A\enum,  0,,  "Off"
HKR, Ndi\Params\WakeUpModeCap_A\enum,  27,,  "On"
HKR, Ndi\Params\WakeUpModeCap_A,       Default,,        "27"

HKR,Ndi\Params\ConnectionType_A,      ParamDesc,  0, %ConnectionType%
HKR,Ndi\Params\ConnectionType_A,      Type,       0, "enum"
HKR,Ndi\Params\ConnectionType_A,      Default,    0, "0"
HKR,Ndi\Params\ConnectionType_A,      Flag,       1, 20,00,00,00
HKR,Ndi\Params\ConnectionType_A\enum, "0",        0, %Autosense%
HKR,Ndi\Params\ConnectionType_A\enum, "1",        0, %10MHD%
HKR,Ndi\Params\ConnectionType_A\enum, "2",        0, %10MFD%
HKR,Ndi\Params\ConnectionType_A\enum, "3",        0, %100MHD%
HKR,Ndi\Params\ConnectionType_A\enum, "4",        0, %100MFD%


HKR,, WaitForRxResources,,   "0"
;-------------------------------------------------------------------------------
; General Registry Entries
;
[m4cxw9x.reg]
HKR, Ndi, HelpText,, %HelpText%
HKR, Ndi\Interfaces, DefUpper,, "ndis5,ndis4,ndis3"
HKR, Ndi\Interfaces, UpperRange,, "ndis5,ndis4,ndis3"
HKR, Ndi\Interfaces, LowerRange,, "ethernet"
HKR, Ndi, Service,, "m4cxw9x"
HKR,Ndi,DeviceID,,"PCI\VEN_1186&DEV_4C00"  
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,m4cxw9x.sys
HKR,,EnumPropPages,,"netdi.dll,EnumPropPages"
HKR, NDIS,LogDriverName,,"m4cxw9x"
HKR, NDIS,MajorNdisVersion,1,05
HKR, NDIS,MinorNdisVersion,1,00

[m4cxnt5x.reg]
HKR, Ndi, HelpText,, %HelpText%
HKR, Ndi\Interfaces, UpperRange,, "ndis5"
HKR, Ndi\Interfaces, LowerRange,, "ethernet"
HKR, Ndi, Service,, "m4cxnt5x"


[m4cxw9x.Service]
DisplayName = %m4cxndis5.DriverDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary  = %12%\m4cxw9x.sys
LoadOrderGroup = NDIS

[w9x.EventLog]
AddReg = w9x.AddEventLog.reg

[w9x.AddEventLog.reg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\Drivers\m4cxw9x.sys"
HKR,, TypesSupported, 0x00010001, 7


[m4cxw2k.Service]
DisplayName = %m4cxndis5.DriverDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary  = %12%\m4cxw2k.sys
LoadOrderGroup = NDIS

[w2k.EventLog]
AddReg = w2k.AddEventLog.reg

[w2k.AddEventLog.reg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\Drivers\m4cxw2k.sys"
HKR,, TypesSupported, 0x00010001, 7


[m4cxwxp.Service]
DisplayName = %m4cxndis51.DriverDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary  = %12%\m4cxwxp.sys
LoadOrderGroup = NDIS

[wxp.EventLog]
AddReg = wxp.AddEventLog.reg

[wxp.AddEventLog.reg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\Drivers\m4cxwxp.sys"
HKR,, TypesSupported, 0x00010001, 7


;-------------------------------------------------------------------------------
; Source Files
;
[SourceDisksFiles]
m4cxw9x.sys = 1
m4cxw2k.sys = 1
m4cxwxp.sys = 1
gewmi.mof    = 1



[SourceDisksNames]
1 = %DriverDisk%,,,



[m4cxw9x.copy]
m4cxw9x.sys,,,2

[m4cxw2k.copy.NTx86]
m4cxw2k.sys,,2

[m4cxwxp.copyXP.NTx86]
m4cxwxp.sys,,2


[wmi.CopyFiles]
gewmi.mof,,,2

;-------------------------------------------------------------------------------
; Destination Directories
;
[DestinationDirs]
DefaultDestDir  = 11
m4cxw9x.copy  = 11
m4cxw2k.copy.NTx86 = 12
m4cxwxp.copyXP.NTx86 = 12
wmi.CopyFiles  = 11,wbem\mof

;-------------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
DLINK = "D-Link"

NetAddress              = "Network Address"
MaxFrSize               = "Jumbo Frame Support"
HwCsum                  = "TCP/IP Checksum Offload"
WakeUpCaps              = "Wake Up Capabilities"
IntMod                  = "Interrupt Moderation"
MaxIrq                  = "Max IRQ per Sec"
LogMsg                  = "Log Status Messages"
NumRcv                  = "Number of Receive Buffers"
NumTx                   = "Number of Transmit Buffers"
Sense  = "Auto-Sense"
On                      = "On"
Off                     = "Off"
Non                     = "None"
Err                     = "Errors"
Wrn                     = "Warnings"
Sta                     = "Status Messages"
All                     = "All Messages"
A                       = "A"
B                       = "B"
Auto  = "Auto"
FlowCtrlA  = "FlowControl"
ConnectionType      = "Connection Type"
Autosense  = "AutoSense"
10MHD                = "10Mbps Half Duplex"
10MFD                = "10Mbps Full Duplex"
100MHD              = "100Mbps Half Duplex"
100MFD              = "100Mbps Full Duplex"
QoSSupA                 = "802.1p Support"

DGE530T.DeviceDesc = "D-Link DGE-530T Gigabit Ethernet Adapter"

m4cxndis5.DriverDesc = "NDIS5.0 Miniport Driver for D-Link DGE-530T Gigabit Ethernet Adapter"

m4cxndis51.DriverDesc = "NDIS5.1 Miniport Driver for D-Link DGE-530T Gigabit Ethernet Adapter"

DriverDisk  = "D-Link DGE-530T Gigabit Ethernet Adapter Installation Disk"

HelpText  = "D-Link: Building Networks for People."

Link to comment
Share on other sites


It turns out that there is something unusual about this driver, because BartPe cannot load it even with his nifty new simple network card driver method and neither can ERD Commander 2005 load it with it's built in "Add Network Driver" function. The mystery continues. By the way, using the Device Manager Clone for BartPE fails to load it also. It will take a major genius to figure this one out.

Link to comment
Share on other sites

  • 10 months later...

i am surprised i was not able to find the answer anywhere -

but i figured it out .

i found some information about a directory that was missing .

i386\system32\wbem\mof

and the file that needs to be there

gewmi.mof ( from the dlink driver cd )

so what i did was -

i created those directories and put the file in it then

i copied the wbem directory to another place and right mouse click ( copy )

that way i could paste it quick into the system32 dir when pebuilder was building

when i ran the pebuilder and it overwrote the bartpe directory - i watched the files being built from another explorer window and when the system32 dir was made i pasted the wbem dir into it .

so when pebuilder finally got around to making the iso file - the wbem dir and the mof file were there .

from that the bartpe booted and my networking for the dge-530t is working great -

Link to comment
Share on other sites

or maybe you could just do what i just now found on a german website - ( translated by google )

i tried it and it works !

what is weird is that it does not make the wbem or the mof dir - it puts the mof file in the system32 dir

http://board.gulli.com/thread/261201-barts...?postid=2550231

Hello!

@chris86

Property today still something with the Fritz Card unfortunately experiments, but without success. The map classified as you already assume as network map.

My email address reads cdbooter@freenet.de

@all

The D-left 530t runs. I had to make a change in the original driver inf. In a line is located: wmi.CopyFiles = 11, wbem\mof

I replaced the comma by a backslash; thus wmi.CopyFiles = 11\wbem\mof

The changed netm4cx.inf, in addition m4cxwxp.sys and gewmi.mof into the file Driver and then gent's.

Greeting

more cdbooter

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...