; DFE650.INF
;
; D-Link DFE-650 Fast Ethernet PC Card.
;
; Copyright 1996-1997 D-Link, Corporation. All Rights Reserved.

;***********************************************************************
;*      Version Section                                                *
;***********************************************************************
[version]
InfVersion=00.01.00
signature=$CHICAGO$
Class=Net
provider=%V_N%

;***********************************************************************
;*      Manufacturer Section                                           *
;***********************************************************************
[Manufacturer]
%V_MANUF%=D-Link

;***********************************************************************
;*      Manufacturer Name Section                                      *
;***********************************************************************
[D-Link]
%PCMCIA.DeviceDesc%=PCMCIA.Ndi, PCMCIA\D-Link-DFE-650-7143

;***********************************************************************
;*      INF Install Section                                            *
;***********************************************************************
[PCMCIA.Ndi]
AddReg=PCMCIA.Ndi.reg, DFE650.Ndi.reg, DFE650.params.reg, ODI.Common.CFG.reg
CopyFiles=*dfe650.INF.CopyFiles, CopyFiles=dfe650.ODI32.CopyFiles
DelFiles=dfe650.INF.DeleteFiles

;***********************************************************************
;*      .REG (Device IDs)                                              *
;***********************************************************************
[PCMCIA.Ndi.reg]
HKR,Ndi,DeviceID,,"PCMCIA\D-Link-DFE-650-7143"
HKR,Ndi,CardType,,"PCMCIA"

;***********************************************************************
;*      .REG Common Settings for all drivers                           *
;***********************************************************************
[DFE650.Ndi.reg]
; key,subkey,valuname,type,value
HKR,,DevLoader,,*odiload
HKR,,EnumPropPages,,"netdi.dll,EnumPropPages"

; Ndi section
HKR,Ndi,NdiInstaller,,"odipage.dll,OdiNdiProc"

; Interfaces
HKR,Ndi\Interfaces,DefUpper,,"odinsup,novellodi32"
HKR,Ndi\Interfaces,DefLower,,"ethernet"
HKR,Ndi\Interfaces,UpperRange,,"odinsup,novellodi32"
HKR,Ndi\Interfaces,LowerRange,,"ethernet"

; Install sections
HKR,Ndi\Install,"32 Bit",,"DFE650.ODI32.install"

; Remove section

; ODI 16 Bit info

; ODI 32 Bit Info
HKR,"ODI\32 Bit",ModulePath,,"%24%%DRIVER_32_PATH%"
HKR,"ODI\32 Bit",Modules,,"LSLC32.NLM,CMSM.NLM,ETHERTSM.NLM"
HKR,"ODI\32 Bit",DriverPath,,"%24%%DRIVER_32_PATH%"
HKR,"ODI\32 Bit",FileName,,"DFE650.LAN"

;***********************************************************************
;*      Install Section                                                *
;***********************************************************************
;***********************************************************************
; Install ODI 16
;***********************************************************************

;***********************************************************************
; Install ODI 32
;***********************************************************************
[DFE650.ODI32.install]
;;;CopyFiles=DFE650.ODI32.CopyFiles

;***********************************************************************
;*      Remove Sections                                                *
;***********************************************************************

;***********************************************************************
;*    Resource Section                                                 *
;***********************************************************************
[DFE650.params.reg]
; Resources
HKR,,IRQ,1,04,00,00,00
HKR,Ndi\params\IRQ,resc,1,04,00,00,00
HKR,Ndi\params\IRQ,ParamDesc,,"IRQ Level"
HKR,Ndi\params\IRQ,flag,1,60,00,00,00

HKR,,Port,1,02,00,00,00
HKR,Ndi\params\Port,resc,1,02,00,00,00
HKR,Ndi\params\Port,ParamDesc,,"I/O Port Address"
HKR,Ndi\params\Port,flag,1,20,00,00,00

;Override
HKR,Override,0000,1, \
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; I/O Resource Descriptor 0: LAN port
;
24,00,00,00, \ ; Total length of I/O Resource Descriptor
02,00,00,00, \ ; ResType_IO = 0x00000002
01,00, \       ; IOD_Count;
0C,00, \       ; IOD_Type;         // IOType_Range = 0x000C
00,00, \       ; IOD_Alloc_Base;
00,00, \       ; IOD_Alloc_End;
00,00, \       ; IOD_DesFlags;
00, \          ; IOD_Alloc_Alias;
00, \          ; IOD_Alloc_Decode;
E0,FF, \       ; IOR_Align;        // Mask for base alignment E0/F0
20,00, \       ; IOR_nPorts;       // Number of ports, pony=10
00,02, \       ; IOR_Min;          // Min port address
FF,03, \       ; IOR_Max;          // Max port address
00,00, \       ; IOR_RangeFlags;   // Flags
00, \          ; IOR_Alias;        // Alias offset
00, \          ; IOR_Decode;       // Address specified
40,00,00,00, \ ; PCCARD flags, 0x40 = 16-bit port
;
; IRQ Resource Descriptor
;
14,00,00,00, \ ; Total length of IRQ Resource Descriptor
04,00,00,00, \ ; ResType_IRQ = 0x00000004
00,00, \       ; IRQD_Flags;
00,00, \       ; IRQD_Alloc_Num;   // Allocated IRQ number
FF,FF, \       ; IRQD_Req_Mask;    // Mask of possible IRQs
00,00, \       ; IRQD_Reserved;
20,00,00,00, \ ; PCCARD flags, 0x20 = Level mode interrupts
;
; REQUEST_CONFIG_PKT Descriptor
;
19,00,00,00, \ ; Total length of REQUEST_CONFIG_PKT Descriptor
7C,89,00,00, \ ; (ResType_Ignored_Bit + PCCARD_DEVICE_ID) = 0x897C
00,00, \       ; Socket;
02,00, \       ; Attributes;
32, \          ; Vcc;
32, \          ; Vpp1; 78
32, \          ; Vpp2; 78
02, \          ; IntType;
00,04,00,00, \ ; ConfigBase;
00, \          ; Status;
00, \          ; Pin;
00, \          ; Copy;
01, \          ; ConfigIndex;
03, \          ; Present;
;
; TERMINATOR
;
00,00,00,00

;Adapter Slot Number
;HKR,Ndi\params\Slot,ParamDesc,,"Adapter Slot Number"
;HKR,Ndi\params\Slot,type,,int
;HKR,Ndi\params\Slot,default,,1
;HKR,Ndi\params\Slot,min,,1
;HKR,Ndi\params\Slot,max,,65535     ; Need to adjust appropriately.
;HKR,Ndi\params\Slot,step,,1
;HKR,Ndi\params\Slot,optional,,1
;HKR,Ndi\params\Slot,HIN,,""

;***********************************************************************
;*      Param Section                                                  *
;***********************************************************************
;***********************************************************************
;*      General Fast Ethernet Frame-Type params
;***********************************************************************
[ODI.Common.CFG.reg]
; First Logical Board
HKR,Ndi\params\Frame1,ParamDesc,,"1. Frame Type"
HKR,Ndi\params\Frame1,default,,1
HKR,Ndi\params\Frame1,type,,enum
HKR,Ndi\params\Frame1,optional,,0
HKR,Ndi\params\Frame1\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame1\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame1\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame1\enum,4,,"Ethernet_802.3"

; Second Logical Board
HKR,Ndi\params\Frame2,ParamDesc,,"2. Frame Type"
HKR,Ndi\params\Frame2,default,,2
HKR,Ndi\params\Frame2,type,,enum
HKR,Ndi\params\Frame2,optional,,0
HKR,Ndi\params\Frame2\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame2\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame2\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame2\enum,4,,"Ethernet_802.3"
HKR,Ndi\params\Frame2\enum,5,,"Not used"

; Third Logical Board
HKR,Ndi\params\Frame3,ParamDesc,,"3. Frame Type"
HKR,Ndi\params\Frame3,default,,3
HKR,Ndi\params\Frame3,type,,enum
HKR,Ndi\params\Frame3,optional,,0
HKR,Ndi\params\Frame3\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame3\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame3\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame3\enum,4,,"Ethernet_802.3"
HKR,Ndi\params\Frame3\enum,5,,"Not used"

; Fourth Logical Board
HKR,Ndi\params\Frame4,ParamDesc,,"4. Frame Type"
HKR,Ndi\params\Frame4,default,,4
HKR,Ndi\params\Frame4,type,,enum
HKR,Ndi\params\Frame4,optional,,0
HKR,Ndi\params\Frame4\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame4\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame4\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame4\enum,4,,"Ethernet_802.3"
HKR,Ndi\params\Frame4\enum,5,,"Not used"


HKR,Ndi\params\ConnectionType,ParamDesc,,"Connection Type"
HKR,Ndi\params\ConnectionType,default,,5
HKR,Ndi\params\ConnectionType,type,,enum
HKR,Ndi\params\ConnectionType,optional,,0
HKR,Ndi\params\ConnectionType\enum,5,,"Auto Sense"
HKR,Ndi\params\ConnectionType\enum,4,,"100BaseTx "
HKR,Ndi\params\ConnectionType\enum,2,,"10BaseT Full Duplex"
HKR,Ndi\params\ConnectionType\enum,0,,"10BaseT"

; Node Address Override
HKR,Ndi\params\"Node Address",ParamDesc,,"Node Address Override"
HKR,Ndi\params\"Node Address",type,,edit
HKR,Ndi\params\"Node Address",LimitText,,18
HKR,Ndi\params\"Node Address",UpperCase,,1
HKR,Ndi\params\"Node Address",default,,""
HKR,Ndi\params\"Node Address",flag,1,20,00,00,00
HKR,Ndi\params\"Node Address",optional,,1

; Bus Name
;HKR,Ndi\params\"BUS",ParamDesc,,"Bus Name"
;HKR,Ndi\params\"BUS",type,,edit
;HKR,Ndi\params\"BUS",LimitText,,32
;HKR,Ndi\params\"BUS",UpperCase,,1
;HKR,Ndi\params\"BUS",default,,""
;HKR,Ndi\params\"BUS",optional,,1

; Help section
HKR,Ndi,HelpText,,%ODIMLID_HELP%

;***********************************************************************
;*      Copy file sections                                             *
;***********************************************************************
;***********************************************************************
; Install ODI 16
;***********************************************************************

;***********************************************************************
; Install ODI 32
;***********************************************************************
[DFE650.ODI32.CopyFiles]
DFE650.LAN,,,5

[*dfe650.INF.CopyFiles]
accodi.inf,DFE650.inf,,5

[dfe650.INF.DeleteFiles]
DFE650.INF,netdf650.INF

;***********************************************************************
;*      Source Disk Names & Source Disk Files                          *
;***********************************************************************
[SourceDisksNames]
42=%DSK_NOVELL4%,"",0004
50="D-Link DFE-650 Fast Ethernet PC Card Driver","",0

[SourceDisksFiles]
DFE650.LAN       =50
DFE650.INF      =50

;***********************************************************************
;*      Destination Directories                                        *
;***********************************************************************
[DestinationDirs]
DefaultDestDir          =11             ; LDID_SYS
DFE650.ODI32.CopyFiles   =24,novell\client32
*dfe650.INF.CopyFiles    =17
dfe650.INF.DeleteFiles   =17

;***********************************************************************
;*      Localizable Strings                                            *
;***********************************************************************
[strings]
; Provider
V_N=" Novell"

; Manufacturers
V_MANUF="D-Link"

; Driver Paths
DRIVER_32_PATH="novell\client32\"

; Driver Disk names
DSK_NOVELL4="Novell NetWare Client-32 LAN driver disk"

; Context help
ODIMLID_HELP="D-Link DFE-650 ODI LAN driver enables you to use 32-Bit networking components."


; PNP Devices
PCMCIA.DeviceDesc="D-Link DFE-650 Fast Ethernet PC Card Client-32 LAN Driver"


