;******************************************************************** ; Megahertz PCMCIA NetCard Install ; Author: Darrell Goff ; ; Copyright (c) 1995-1997, Megahertz Corporation ;******************************************************************** [Version] LayoutFile=layout.inf Signature="$CHICAGO$" Provider=%MS% Class=Net [Manufacturer] %MHZ% = MHZ [MHZ] %MHZ8%=MHZ8.ndi,MF\MHZ_DEV8 ;******************************************************************** ; ;******************************************************************** [MHZ8.ndi] AddReg=ADDREG.ndi.reg,MHZ8.ndi.reg,ADDREG_MHZ.ndi.reg [ADDREG.ndi.reg] ; key,subkey,valuname,type,value HKR,,DevLoader,,*ndis HKR,,DeviceVxDs,,mhzc9x.sys HKR,,EnumPropPages,,"netdi.dll,EnumPropPages" ; NDIS Info HKR,NDIS,LogDriverName,,"mhzc9x" HKR,NDIS,MajorNdisVersion,HEX,04 HKR,NDIS,MinorNdisVersion,HEX,00 ; Interfaces HKR,Ndi\Interfaces,DefUpper,,"ndis3" HKR,Ndi\Interfaces,DefLower,,"ethernet" HKR,Ndi\Interfaces,UpperRange,,"ndis3" HKR,Ndi\Interfaces,LowerRange,,"ethernet" HKR,Ndi,CardType,,"PCMCIA" ; Parameters HKR,,IOBase,1,02,00,00,00 HKR,,Interrupt,1,04,00,00,00 HKR,,MemoryBaseAddress,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 ; Squelch Bit HKR,Ndi\params\SquelchBit,ParamDesc,,"Squelch Bit" HKR,Ndi\params\SquelchBit,default,,"1" HKR,Ndi\params\SquelchBit,type,,enum HKR,Ndi\params\SquelchBit\enum,"0",,"Squelch Bit OFF" HKR,Ndi\params\SquelchBit\enum,"1",,"Squelch Bit ON" HKR,Ndi\params\SquelchBit,flag,1,20,00,00,00 ; CardIsCombo setting for multifunction card LANONLY = 0, COMBO = 1 ;HKR,Ndi\params\CardIsCombo,ParamDesc,,"MultiFunction Card" HKR,Ndi\params\CardIsCombo,default,,1 ;HKR,Ndi\params\CardIsCombo,type,,enum ;HKR,Ndi\params\CardIsCombo\enum,"10BaseT",,"Twisted Pair (10BASE-T)" ;HKR,Ndi\params\CardIsCombo\enum,"10Base2",,"Thin Coax (10BASE2)" HKR,Ndi\params\CardIsCombo,flag,1,20,00,00,00 ; AdapterType HKR,Ndi\params\MediaType,ParamDesc,,"Connector Type" HKR,Ndi\params\MediaType,default,,0 HKR,Ndi\params\MediaType,type,,enum HKR,Ndi\params\MediaType\enum,0,,"Twisted Pair (10BASE-T)" HKR,Ndi\params\MediaType\enum,1,,"Thin Coax (10BASE2)" HKR,Ndi\params\MediaType,flag,1,20,00,00,00 [ADDREG_1.ndi.reg] ; key,subkey,valuname,type,value HKR,,DevLoader,,*ndis HKR,,DeviceVxDs,,mhzc9x.sys HKR,,EnumPropPages,,"netdi.dll,EnumPropPages" ; NDIS Info HKR,NDIS,LogDriverName,,"mhzc9x" HKR,NDIS,MajorNdisVersion,HEX,04 HKR,NDIS,MinorNdisVersion,HEX,00 ; Interfaces HKR,Ndi\Interfaces,DefUpper,,"ndis3" HKR,Ndi\Interfaces,DefLower,,"ethernet" HKR,Ndi\Interfaces,UpperRange,,"ndis3" HKR,Ndi\Interfaces,LowerRange,,"ethernet" HKR,Ndi,CardType,,"PCMCIA" ; Parameters HKR,,IOBase,1,02,00,00,00 HKR,,Interrupt,1,04,00,00,00 HKR,,MemoryBaseAddress,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 [MHZ8.ndi.reg] HKR,Ndi,DeviceID,,"MF\MHZ_DEV8" HKR,Ndi\Install,ndis3,,"mhzc9x.ndis3" [ADDREG_MHZ.ndi.reg] HKR,,AdapterType,,3 HKR,,MemoryBaseAddress,1,01,00,00,00 ;**************************************************************************** ; Add these keys to the registry for MHZ adapters ;**************************************************************************** [override2.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 20,00, \ ; IOR_nPorts; // Number of ports 00,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 64,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 ; ; 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 [override3.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 00,01, \ ; IOR_Min; // Min port address 7F,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 ;******************************************************************** ; Stuff for copying files ;******************************************************************** [mhz.ndis3] CopyFiles=mhz.ndis3.CopyFiles [mhz.ndis3.CopyFiles] mhzc9x.sys [DestinationDirs] DefaultDestDir = 11 mhz.ndis3.CopyFiles = 11 [Strings] MS="Microsoft" MHZ="Megahertz" MHZ8 = "Megahertz CCXJEM3336 Multi-function (Network Interface)"