Hello everyone,
Sorry for any cross posting, but I am attempting to get a device driver
written for the Orinoco Silver wireless cards under QNX 4.25 based on
the GPL orinoco_cs driver for linux, and I am having trouble with simply
being able to read from the Hermes chipset registers on the card.
Basically, the card is detected by Pcmcia.generic, and allocated I/O
memory and an IRQ. So I thought that I would simply be able to read
directly from the designated I/O memory to see what is in the registers,
however all I get back is junk (either all 0x0000 or 0xffff). Reading
the same registers under QNX 6.2 and Linux result in reasonable (ie.
plausible values Is there something that else that needs to be
setup for me to interact with the card? If so, what?
I also noticed that there is some type of versioning problem with the
CIS tuples (see pin cis output below), which may be the culprit, but
hopefully someone can give me an idea about what the problem is and if
there is any fix/workaround. I’ve appended the output of pin, pin cis
and pin config below for reference.
Also, I have tried changing the resources used (I/O port and IRQ) to the
settings allocated under both Linux and QNX 6, but I recieved the same
results.
Any help would be greatly appreciated,
-Adam
pin
Sock Win Type Flags PID Base Size IRQ Base
Size DMA
1 0 Network C—I-±-------W None 0x240 64 11
2 Empty ----MF---------- None
pin config
; socket 1
[device]
manufacturer = “Lucent Technologies”
product = “WaveLAN/IEEE”
info1 = “Version 01.01”
info2 = “”
regbase = 0x3e0
config = 0x01, 0x0601, irq any, io any+64 (width=16)
register = 0, 0x40, 0x40 ; level mode interrupts
pin cis
Socket : 1
Device : Null 0k
Attribute Device : SRAM 1k
Other conditions (att) : MWait
Attribute Device : SRAM 1k
Could be version problem, found 5.76, need 4.01
Card tuple version : 5.00
Manufacturer : Lucent Technologies
Name of Product : WaveLAN/IEEE
Add’nl info (lot #) : Version 01.01
Add’nl info (programming):
Manufacturer ID : 0x156 0x2
PC Card function : NetworkLAN Adapter
POST : 0x0
Tuple 0x22 link=2 : 01 07
Tuple 0x22 link=5 : 02 40 42 0f 00
Tuple 0x22 link=5 : 02 80 84 1e 00
Tuple 0x22 link=5 : 02 60 ec 53 00
Tuple 0x22 link=5 : 02 c0 d8 a7 00
Tuple 0x22 link=2 : 03 07
Tuple 0x22 link=8 : 04 06 00 02 2d 53 29 9d
Tuple 0x22 link=2 : 05 01
Configuration base/st : 0x3e0 0-subtuples
Configuration Index : 0x1 Last Default
Interface : I/O
Feature : 0x19
IO Space : Bus16 0x0-0x3F(6 lines)
IRQ Description : Pulse Level VEND BERR IOCK NMI 0 1 2 3 4 5 6
7 8 9 10 11 12 13 14 15