Win2k .inf problems

We have an NDIS driver for a PCMCIA card. The card ONLY does 16-bit accesses
to common memory. It runs fine on Windows98. The attached INF file loads the
driver on Win2k, but Win2k tries to access common memory via 8-bit
transfers, which breaks because the card only does 16-bit transfers. I have
been trying to persuade Win2k to do 16-bit accesses, but so far it adamantly
refuses.

Here is the .inf file for your collective inspection, so please take a
look… We getting tired of bashing our heads against the wall :o

---------------cut here---------------

; COPYRIGHT (C) 1999-2000 TheClient CORPORATION

[Version]
signature = “$Chicago$”
CatalogFile = Commlink3.cat
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
Compatible = 1
DriverVer = 11/20/2000,1.0.0.2000

[Manufacturer]
%Manufacturer%=TheClient

[ControlFlags]
ExcludeFromSelect = TheClient_PC_Card_Wireless_LAN_Adapter-1500T00-C883

[TheClient]
%Commlink3%=Commlink3.ndi,PCMCIA\TheClient_PC_Card_Wireless_LAN_Adapter-1500
T00-C883,PCMCIA\TheClient_PC_Card_Wireless_LAN_Adapter-1500T00-0197-0000

[Commlink3.ndi]
AddReg=PCCARD.ndi.reg,Commlink3.ndi.reg,Commlink3.params.reg

[Commlink3.ndi.ntx86]
Characteristics = 0x04
BusType = 8
AddReg=Commlink3.reg
CopyFiles = Commlink3.CopyFiles
LogConfig = 1500T00lc

[1500T00lc]
ConfigPriority=HARDWIRED
IRQConfig=L:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
IoConfig=xxxxx@0-FFFF(FFFF)
MemConfig=xxxxx@0-FFFFFFFF%FFFFC000
PcCardConfig=1:0(W C M)

[Commlink3.ndi.ntx86.Services]
AddService = Commlink3, 2, Commlink3.Service

[Commlink3.reg]
HKR, Ndi, Service, 0, “Commlink3”
; use ndis5 as the upper bound because NT supports it
HKR, Ndi\Interfaces, UpperRange, 0, “ndis5”
HKR, Ndi\Interfaces, LowerRange, 0, “ethernet”

HKR, Ndi, InfVersion, 0, “03”

[Commlink3.Service]
DisplayName = %Commlink3.Service.DispName%
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_DEMAND_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\Commlnk3.sys
LoadOrderGroup = NDIS

[PCCARD.ndi.reg]
HKR,Ndi,DeviceID,“PCMCIA\TheClient_PC_Card_Wireless_LAN_Adapter-1500T00”

[Commlink3.ndi.reg]
; key,subkey,valuname,type,value
HKR,DevLoader,0,“*ndis”
HKR,DeviceVxDs,0,“commlnk3.sys”
HKR,EnumPropPages,0,“netdi.dll,EnumPropPages”

; NDIS Info
HKR,NDIS,LogDriverName,“COMMLNK3”
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A

HKR,NDI,CardType,“PCMCIA”

; Interfaces

HKR,Ndi\Interfaces,DefUpper,0,“ndis3”
HKR,Ndi\Interfaces,DefLower,0,“ethernet”
HKR,Ndi\Interfaces,UpperRange,0,“ndis3”
HKR,Ndi\Interfaces,LowerRange,0,“ethernet”

; Install sections
HKR,Ndi\Install,ndis3,0,“Commlink3.ndis3”
HKR,OSType,1,“0”
HKR,AdapterType,1,“0103”

[Commlink3.CopyFiles]
COMMLNK3.SYS

; Install NDIS
[Commlink3.ndis3]
CopyFiles=Commlink3.ndis3.CopyFiles

[Commlink3.ndis3.CopyFiles]
COMMLNK3.SYS

[Commlink3.params.reg]
HKR,IRQ,1,04,00,00,00
HKR,Ndi\params\IRQ,resc,1,04,00,00,00
HKR,Ndi\params\IRQ,ParamDesc,“Interrupt”
HKR,Ndi\params\IRQ,flag,1,20,00,00,00

HKR,IOAddress,1,02,00,00,00
HKR,Ndi\params\IOAddress,resc,1,02,00,00,00
HKR,Ndi\params\IOAddress,ParamDesc,1,“I/O Base Address”
HKR,Ndi\params\IOAddress,flag,1,30,00,00,00

HKR,MemoryMappedBaseAddress,1,01,00,00,00
HKR,Ndi\params\MemoryMappedBaseAddress,resc,1,01,00,00,00
HKR,Ndi\params\MemoryMappedBaseAddress,ParamDesc,“Memory Mapped Base
Address”
HKR,Ndi\params\MemoryMappedBaseAddress,flag,1,20,00,00,00
HKR,Ndi\params\MemoryMappedBaseAddress,paragraph,1

[DestinationDirs]
DefaultDestDir =11 ; LDID_SYS
Commlink3.ndis3.CopyFiles =11
Commlink3.CopyFiles =12
Commlink3.inf.CopyFiles =17

[SourceDisksNames]
1 = %Commlink3_install_disk%,

[SourceDisksFiles]
COMMLNK3.SYS = 1

[Strings]
Provider=“TheClient”
Manufacturer=“TheClient”
Commlink3=“Commlink3”
Commlink3_install_disk=“TheClient PC Card Wireless LAN Adapter Driver
Diskette”
Commlink3.Service.DispName = “TheClient PC Card Wireless LAN Adapter Windows
2000 Driver”


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com