;+-----------------------------------------------------------------------+
;| Device name    : ZyAIR B122 802.11b Wireless LAN card.                |
;| Platform	  : Microsoft Windows 98 / Me / 2000 / XP                |
;| Host interface : PCI/CardBus/MiniPCI                                  |
;|                                                                       |
;| Copyright (c) 1989-2004 ZyXEL Corporation.                            |
;| All Rights Reserved.                                                  |
;+-----------------------------------------------------------------------+


[version]
Signature   = "$Chicago$"
Compatible  = 1
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
MillenniumPreferred	= .ME
Provider    = %ZDS%
CatalogFile.NTx86 = ZD1202.cat
DriverVer   = 02/20/2004,1.01.0220.2004

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

[ControlFlags]

[ZyXEL]
; DisplayName           Section             DeviceID
; -----------           -------             --------
%ZD1202_DESC%         = ZD1202.ndi,         PCI\VEN_167B&DEV_2102&SUBSYS_3406187E

[ZyXEL.NT.5.1]
; DisplayName           Section             DeviceID
; -----------           -------             --------
%ZD1202_DESC%         = ZD1202XP.ndi,       PCI\VEN_167B&DEV_2102&SUBSYS_3406187E

;*********************************************************************
;   Microsoft Windows 98 section
;*********************************************************************
[ZD1202.ndi]
AddReg    = ZD1202.ndi.reg, ZD1202_98.reg, ZD1202_Common.reg, UnZDRegistryPCI.reg
CopyFiles = ZD1202.CopyFiles98

[ZD1202.ndi.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_167B&DEV_2102&SUBSYS_3406187E"

[ZD1202_98.reg]
HKR, ,              DevLoader,          0, "*ndis"
HKR, ,              DeviceVxDs,         0, "zd1202.sys"

; Interface Info
HKR, Ndi\Interfaces,DefUpper,    0, "ndis3"
HKR, Ndi\Interfaces,DefLower,    0, "ethernet"
HKR, Ndi\Interfaces,UpperRange,  0, "ndis3"
HKR, Ndi\Interfaces,LowerRange,  0, "ethernet"

; NDIS Info
HKR, NDIS,          LogDriverName,      0, "ZD1202Log"
HKR, NDIS,          MajorNdisVersion,   1, 03
HKR, NDIS,          MinorNdisVersion,   1, 0A

; Other
HKR, Ndi\params\NumRfd,         flag, 1, 20,00,00,00
HKR, Ndi\params\NumTcb,         flag, 1, 20,00,00,00
HKR, Ndi\params\NumCoalesce,    flag, 1, 20,00,00,00
HKR, ,    EnumPropPages,      0, "netdi.dll,EnumPropPages"

[ZD1202.CopyFiles98]
ZD1202.sys,ZD02_98.sys,,2


;*********************************************************************
;   Microsoft Windows Me section
;*********************************************************************
[ZD1202.ndi.ME]
AddReg    = ZD1202.ndi.ME.reg, ZD1202_ME.reg, ZD1202_Common.reg, UnZDRegistryPCI.reg
CopyFiles = ZD1202.CopyFilesME

[ZD1202.ndi.ME.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_167B&DEV_2102&SUBSYS_3406187E"

[ZD1202.ndi.ME.Services]
AddService = ZD1202, 2, ZD1202_ME.Service, ZD1202.EventLog

[ZD1202_ME.reg]
HKR, ,              DevLoader,          0, "*ndis"
HKR, ,              DeviceVxDs,         0, "zd1202.sys"

; Interface Info
HKR, Ndi\Interfaces,DefUpper,    0, "ndis5"
HKR, Ndi\Interfaces,DefLower,    0, "ethernet"
HKR, Ndi\Interfaces,UpperRange,  0, "ndis5"
HKR, Ndi\Interfaces,LowerRange,  0, "ethernet"

; NDIS Info
HKR, NDIS,          LogDriverName,      0, "ZD1202Log"
HKR, NDIS,          MajorNdisVersion,   1, 03
HKR, NDIS,          MinorNdisVersion,   1, 0A

; Other
HKR, Ndi\params\NumRfd,         flag, 1, 20,00,00,00
HKR, Ndi\params\NumTcb,         flag, 1, 20,00,00,00
HKR, Ndi\params\NumCoalesce,    flag, 1, 20,00,00,00
HKR, ,    EnumPropPages,      0, "netdi.dll,EnumPropPages"

[ZD1202.CopyFilesME]
ZD1202.sys,ZD02_ME.sys,,2

[ZD1202C_ME.Service]
DisplayName     = %ZD1202.Service.DispName%
ServiceType     = 1                             ;%SERVICE_KERNEL_DRIVER%
StartType       = 3                             ;%SERVICE_DEMAND_START%
ErrorControl    = 1                             ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %11%\zd1202.sys
LoadOrderGroup  = NDIS


;*********************************************************************
;   Microsoft Windows 2000 section
;*********************************************************************
[ZD1202.ndi.NTx86]
Characteristics = 0x84
BusType         = 5
AddReg          = ZD1202_2K.reg, ZD1202_Common.reg, UnZDRegistryPCI.reg
CopyFiles       = ZD1202.CopyFiles2K


[ZD1202.ndi.NTx86.Services]
AddService = ZD1202Service, 2, ZD1202_NT.Service, ZD1202.EventLog


[ZD1202_2K.reg]
HKR, Ndi,                       Service,    0, "ZD1202Service"
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"
HKLM, SYSTEM\CurrentControlSet\Control\Network\{4d36e972-e325-11ce-bfc1-08002be10318}\Descriptions, %ZD1202_DESC%, 4, "" 

[ZD1202.CopyFiles2K]
ZD1202.sys, ZD02_2K.sys,,2

;*********************************************************************
;   Microsoft Windows XP section
;*********************************************************************
[ZD1202XP.ndi.NTx86]
Characteristics = 0x84
BusType         = 5
AddReg		= ZD1202_XP.reg, ZD1202_Common.reg, UnZDRegistryPCI.reg
CopyFiles       = ZD1202.CopyFilesXP


[ZD1202XP.ndi.NTx86.Services]
AddService = ZD1202Service, 2, ZD1202_NT.Service, ZD1202.EventLog


[ZD1202_XP.reg]
HKR, Ndi,                       Service,    0, "ZD1202Service"
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"
HKLM, SYSTEM\CurrentControlSet\Control\Network\{4d36e972-e325-11ce-bfc1-08002be10318}\Descriptions, %ZD1202_DESC%, 4, "" 

[ZD1202.CopyFilesXP]
ZD1202.sys,ZD02_XP.sys,,2

;*********************************************************************
;   Microsoft Windows XP/2000 Common Section
;*********************************************************************
[ZD1202_NT.Service]
DisplayName     = %ZD1202.Service.DispName%
ServiceType     = 1                             ;%SERVICE_KERNEL_DRIVER%
StartType       = 3                             ;%SERVICE_DEMAND_START%
ErrorControl    = 1                             ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\zd1202.sys
LoadOrderGroup  = NDIS

;*********************************************************************
;   Microsoft Windows ME/2000/XP Common Section
;*********************************************************************
[ZD1202.EventLog]
AddReg = ZD1202.EventLog.reg

[ZD1202.EventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7



;*********************************************************************
;   for common 
;*********************************************************************

[ZD1202_Common.reg]
HKR, , WPAOn,             0, "1"
HKR, , VendorDescription, 0, %ZD1202_DESC%

HKR,NDI\params\NetworkType,         ParamDesc,         0, "Network Type"
HKR,NDI\params\NetworkType,         type,              0, "enum"
HKR,NDI\params\NetworkType,         flag,              1, 30,00,00,00
HKR,NDI\params\NetworkType,         default,           0, "1"
HKR,NDI\params\NetworkType\enum,    "0",               0, "Ad-Hoc"
HKR,NDI\params\NetworkType\enum,    "1",               0, "Infrastructure"
HKR,NDI\params\NetworkType\enum,    "3",               0, "Pseudo IBSS"

HKR,NDI\params\NetworkAddress,      ParamDesc,         0, "Network Address"
HKR,NDI\params\NetworkAddress,      type,              0, "edit"
HKR,NDI\params\NetworkAddress,      default,           0, ""
HKR,NDI\params\NetworkAddress,      LimitText,         0, "12"
HKR,NDI\params\NetworkAddress,      UpperCase,         0, "1"
HKR,NDI\params\NetworkAddress,      Optional,          0, "1"

HKR,NDI\params\SSID,                ParamDesc,         0, "SSID"
HKR,NDI\params\SSID,                type,              0, "edit"
HKR,NDI\params\SSID,                flag,              1, 30,00,00,00
HKR,NDI\params\SSID,                default,           0, ""
HKR,NDI\params\SSID,                limitText,         0, "32"

HKR,NDI\params\RFChannel,           ParamDesc,         0, "Channel"
HKR,NDI\params\RFChannel,           type,              0, "enum"
HKR,NDI\params\RFChannel,           flag,              1, 30,00,00,00
HKR,NDI\params\RFChannel,           default,           0, 1
HKR,NDI\params\RFChannel\enum,      "1",               0, "Channel  1"
HKR,NDI\params\RFChannel\enum,      "2",               0, "Channel  2"
HKR,NDI\params\RFChannel\enum,      "3",               0, "Channel  3"
HKR,NDI\params\RFChannel\enum,      "4",               0, "Channel  4"
HKR,NDI\params\RFChannel\enum,      "5",               0, "Channel  5"
HKR,NDI\params\RFChannel\enum,      "6",               0, "Channel  6"
HKR,NDI\params\RFChannel\enum,      "7",               0, "Channel  7"
HKR,NDI\params\RFChannel\enum,      "8",               0, "Channel  8"
HKR,NDI\params\RFChannel\enum,      "9",               0, "Channel  9"
HKR,NDI\params\RFChannel\enum,      "10",              0, "Channel 10"
HKR,NDI\params\RFChannel\enum,      "11",              0, "Channel 11"
HKR,NDI\params\RFChannel\enum,      "12",              0, "Channel 12"
HKR,NDI\params\RFChannel\enum,      "13",              0, "Channel 13"
HKR,NDI\params\RFChannel\enum,      "14",              0, "Channel 14"

HKR,NDI\params\WEPStatus,           ParamDesc,         0, "WEP Encryption"
HKR,NDI\params\WEPStatus,           type,              0, "enum"
HKR,NDI\params\WEPStatus,           flag,              1, 30,00,00,00
HKR,Ndi\params\WEPStatus,           default,           0, "0"
HKR,NDI\params\WEPStatus\enum,      0,                 0, "Disabled"
HKR,NDI\params\WEPStatus\enum,      2,                 0, "Enabled (64 bit)"
HKR,NDI\params\WEPStatus\enum,      6,                 0, "Enabled (128 bit)"

HKR,NDI\params\WEPDefaultKeyId,           ParamDesc,         0, "WEP Default Key Id"
HKR,NDI\params\WEPDefaultKeyId,           type,              0, "enum"
HKR,NDI\params\WEPDefaultKeyId,           flag,              1, 30,00,00,00
HKR,Ndi\params\WEPDefaultKeyId,           default,           0, "0"
HKR,NDI\params\WEPDefaultKeyId\enum,      0,                 0, "0"
HKR,NDI\params\WEPDefaultKeyId\enum,      1,                 0, "1"
HKR,NDI\params\WEPDefaultKeyId\enum,      2,                 0, "2"
HKR,NDI\params\WEPDefaultKeyId\enum,      3,                 0, "3"

HKR,NDI\params\WEPDefaultKeys,      ParamDesc,         0, "WEP Default Keys"
HKR,NDI\params\WEPDefaultKeys,      type,              0, "edit"
HKR,NDI\params\WEPDefaultKeys,      flag,              1, 30,00,00,00
HKR,Ndi\params\WEPDefaultKeys,      default,           0, ""


HKR, Ndi\params\NumRfd,             ParamDesc,  0, "%ReceiveFrameDescriptors%"
HKR, Ndi\params\NumRfd,             default,    0, "16"
HKR, Ndi\params\NumRfd,             min,        0, "1"
HKR, Ndi\params\NumRfd,             max,        0, "00001024"
HKR, Ndi\params\NumRfd,             step,       0, "1"
HKR, Ndi\params\NumRfd,             Base,       0, "10"
HKR, Ndi\params\NumRfd,             type,       0, "int"

HKR, Ndi\params\NumTcb,             ParamDesc,  0, "%TransmitControlBlocks%"
HKR, Ndi\params\NumTcb,             default,    0, "16"
HKR, Ndi\params\NumTcb,             min,        0, "1"
HKR, Ndi\params\NumTcb,             max,        0, "00000064"
HKR, Ndi\params\NumTcb,             step,       0, "1"
HKR, Ndi\params\NumTcb,             Base,       0, "10"
HKR, Ndi\params\NumTcb,             type,       0, "int"

HKR, Ndi\params\NumCoalesce,        ParamDesc,  0, "%CoalesceBuffers%"
HKR, Ndi\params\NumCoalesce,        default,    0, "8"
HKR, Ndi\params\NumCoalesce,        min,        0, "1"
HKR, Ndi\params\NumCoalesce,        max,        0, "00000032"
HKR, Ndi\params\NumCoalesce,        step,       0, "1"
HKR, Ndi\params\NumCoalesce,        Base,       0, "10"
HKR, Ndi\params\NumCoalesce,        type,       0, "int"

;*********************************************************************
;   Destination Directories
;*********************************************************************
[DestinationDirs]
ZD1202.CopyFiles98	= 11			; system subdirectory on Win 98
ZD1202.CopyFilesMe	= 11			; system subdirectory on Win Me
ZD1202.CopyFiles2K	= 12			; system32\drivers subdirectory on Win NT/2000
ZD1202.CopyFilesXP	= 12			; system32\drivers subdirectory on Win XP

[SourceDisksNames]
1=%DISKNAME%,,,

[SourceDisksFiles]
ZD02_98.sys = 1
ZD02_ME.sys = 1
ZD02_2K.sys = 1
ZD02_XP.sys = 1

;******************************************************************************
[UnZDRegistryPCI.reg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UNZD1202%InterfaceType%,DEL_HKR_0000,0,"ENUM\"%ZD1202_PNP%
;******************************************************************************

[Strings]
ZDS                      = "ZyXEL"
Manufacturer             = "ZyXEL"
DISKNAME                 = "ZyAIR B-122 IEEE 802.11b Wireless LAN Driver (CARDBUS)"
ReceiveFrameDescriptors  = "Receive Frame Descriptors"
TransmitControlBlocks    = "Transmit Control Blocks"
CoalesceBuffers          = "Coalesce Buffers"
InterfaceType	         = "PCI"
ZD1202_PNP               = "PCI\VEN_167B&DEV_2102&SUBSYS_3406187E"
ZD1202_DESC              = "ZyAIR B-122 IEEE 802.11 CARDBUS Adapter"
ZD1202.Service.DispName  = "ZyAIR B-122 IEEE 802.11b Wireless LAN Driver (CARDBUS)"

