; ODIMHZ.INF
;
; MegaHertz Network Interface Cards.
;
; VeRsIoN=1.00 Novell Windows 95 INF file: MegaHertz Network Adapters
; CoPyRiGhT=(c) Copyright 1996, by Novell, Inc. All rights reserved.

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

;***********************************************************************
;*    Manufacturer Section                                             *
;***********************************************************************
[Manufacturer]
%MHZ%=MHZ

;***********************************************************************
;*    Manufacture Name section                                         *
;***********************************************************************
[MHZ]
%MHZ2%=MHZ2.ndi,PCMCIA\MEGAHERTZ-CC10BT/2-BF05

;***********************************************************************
;*   INF Install Section                                               *
;***********************************************************************
[MHZ2.ndi]
AddReg=ADDREG_MHZ.ndi.reg,2.ndi.reg,override.ndi.reg,ODI.Common.CFG.reg

[2.ndi.reg]
HKR,Ndi,DeviceID,,"PCMCIA\MEGAHERTZ-CC10BT/2-BF05"

;***********************************************************************
;*      Added Registry                                                 *
;***********************************************************************
[ADDREG_MHZ.ndi.reg]
HKR,,DevLoader,,*odiload
HKR,,EnumPropPages,,"netdi.dll,EnumPropPages"
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,"16 Bit",,"MEGHRTZ.ODI16.install"
;HKR,Ndi\Install,"32 Bit",,"MEGHRTZ.ODI32.install"

; Remove section
HKR,Ndi\Remove,"16 Bit",,"MEGHRTZ.ODI16.Remove"

; ODI 16 Bit info
HKR,"ODI\16 Bit",ModulePath,,"%24%%DRIVER_16_PATH%"
HKR,"ODI\16 Bit",Modules,,"LSLC32.NLM,PC32MLID.LAN"
HKR,"ODI\16 Bit",DriverPath,,"%24%%DRIVER_16_PATH%"
HKR,"ODI\16 Bit",FileName,,"MHZEM.com"
HKR,"ODI\16 Bit",NetcfgPath,,"%24%%DRIVER_16_PATH%"
HKR,"ODI\16 Bit",NetcfgFileName,,"Net.cfg"
HKR,"ODI\16 Bit",LinkDriver,,"MHZEM"

; 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,,"MHZEMLAN.lan"

HKR,Ndi,CardType,,"PCMCIA"

; Parameters
HKR,,Port,1,02,00,00,00
HKR,,IRQ,1,04,00,00,00
HKR,,MEM,1,01,00,00,00

; NetworkAddress
HKR,NDI\params\NetworkAddress,ParamDesc,,"Network Address"
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,flag,1,20,00,00,00
HKR,Ndi\params\NetworkAddress,optional,,1

;***********************************************************************
;*     .LogConfig Section                                              *
;***********************************************************************

;***********************************************************************
;*     Install section                                                 *
;***********************************************************************
; Install ODI 16
;***********************************************************************
[MEGHRTZ.ODI16.install]
CopyFiles=MEGHRTZ.ODI16.CopyFiles
UpdateAutoBat=MEGHRTZ.ODI16.autobat

[MEGHRTZ.ODI16.autobat]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=MHZEM
CmdDelete=ODIHLP
CmdAdd=LSL.COM, "-c=%24%%DRIVER_16_PATH%NET.CFG"
CmdAdd=N16ODI.COM
CmdAdd=NESL.COM
CmdAdd=MHZEM.com

;***********************************************************************
; Install ODI 32
;***********************************************************************
;***********************************************************************
;  MEGHRTZ adapter
;[MEGHRTZ.ODI32.install]
;CopyFiles=MEGHRTZ.ODI32.CopyFiles
;UpdateAutoBat=MEGHRTZ.ODI32.autobat

;[MEGHRTZ.ODI32.autobat]
;CmdDelete=LSL
;CmdDelete=N16ODI
;CmdDelete=NESL
;CmdDelete=MHZEM
;CmdDelete=ODIHLP

;***********************************************************************
;*     remove sections                                                 *
;***********************************************************************
;***********************************************************************
; MEGHRTZ adapter
[MEGHRTZ.ODI16.Remove]
UpdateAutoBat=MEGHRTZ.ODI16.AutoBatRemove

[MEGHRTZ.ODI16.AutoBatRemove]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=MHZEM          ;.com

;***********************************************************************
;*    Param Section                                                    *
;***********************************************************************
[override.ndi.reg]
; OVERRIDE FOR 16K RAM WINDOW
HKR,Override,0000,1,\
;
00,04,00,00, \      		; CONFIGMG_VERSION
00,00,00,00, \      		; PRIORITY
;
; I/O Resource Descriptor
;
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
10,00, \       			; IOR_nPorts;       // Number of ports
20,01, \       			; 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
45,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;
70,00,00,00, \      		; PCCARD flags, 0x20 = Level mode interrupts
;
; Memory Resource Descriptor 0
;
34,00,00,00, \      		; Total length of Memory Resource Descriptor
01,00,00,00, \      		; ResType_Mem = 0x00000001
01,00, \       			; MD_Count;
14,00, \       			; MD_Type;          // MType_Range = 0x0014
00,00,00,00, \      		; MD_Alloc_Base;
00,00,00,00, \      		; MD_Alloc_End;
00,00, \       			; MD_Flags;
00,00, \       			; MD_Reserved;
00,F0,FF,FF, \      		; MR_Align;         // Mask for base alignment
00,10,00,00, \      		; MR_nBytes;        // Count of bytes (4K)
00,00,00,00, \      		; MR_Min;      // Min Address
FF,FF,FF,FF, \      		; MR_Max;      // Max Address
00,00, \       			; MR_Flags;         // Flags
00,00, \       			; MR_Reserved;
02,00,00,00, \      		; PCCARD flags, 0x02 = attribute mem, or
				;         0x08 = 16-bit common mem
00,00,00,00, \      		; Memory card address
;
; 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;
32, \               		; Vpp2;
02, \               		; IntType;
00,03,00,00, \      		; ConfigBase;
00, \               		; Status;
00, \               		; Pin;
00, \               		; Copy;
01, \               		; ConfigIndex;
01, \               		; Present;
;
00,00,00,00         		; TERMINATOR

;***********************************************************************
; General 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"

; 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

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


;***********************************************************************
;*    Resource Section                                                 *
;***********************************************************************

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

;***********************************************************************
;  MEGHRTZ adapter
[MEGHRTZ.ODI16.CopyFiles]
MHZEM.com,,,5
lsl.com,,,5
N16ODI.COM,,,5
nesl.com,,,5
;LSL.msg,,,5
;NESL.msg,,,5

;***********************************************************************
; Install ODI 32
;***********************************************************************

;***********************************************************************
;  MEGHRTZ adapter
;[MEGHRTZ.ODI32.CopyFiles]
;MHZEMLAN.lan,,,5

;***********************************************************************
;*   Source Disk Names & Source Disk Files                             *
;***********************************************************************
[SourceDisksNames]
42=%DSK_NOVELL4%,"",0004
42=%DSK_NOVELL4a%,"",0004

[SourceDisksFiles]
;MHZEMLAN.lan  =42
MHZEM.com  =42

nesl.com       =42
lsl.com        =42
N16ODI.COM    =42
;NESL.msg       =42
;LSL.msg        =42

;***********************************************************************
;*   Destination Directories                                           *
;***********************************************************************
[DestinationDirs]
DefaultDestDir           =11 ; LDID_SYS
MEGHRTZ.ODI16.CopyFiles     =24,novell\nwclient
;MEGHRTZ.ODI32.CopyFiles     =24,novell\client32

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

; Driver Paths 
DRIVER_16_PATH="novell\nwclient\"
DRIVER_32_PATH="novell\client32\"

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

; Context help
ODIMLID_HELP="The Novell ODI driver enables you to use either 16-Bit or 32-Bit networking components."

; PNP Devices

MHZ2="Megahertz Ethernet Adapter"
