Hello.
I am trying to get a GPIB PCMCIA to work properly on a laptop that has
QNX4 installed on it. I have used the “pin cis” command to generate a
pcmcia.cards file:
[device]
manufacturer = “National Instruments”
product = “PCMCIA-GPIB+”
regbase = 0x200
config = 0x01, 0xffff, irq any, io 0x0-0x2f (width=16)
config = 0x02, 0xffff, irq any, io 0x300-0x31f (width=16), io
0x220-0x22f (width=16)
config = 0x03, 0xffff, irq any, io 0x300-0x31f (width=16), io
0x320-0x32f (width=16)
config = 0x04, 0xffff, irq any, io 0x300-0x31f (width=16), io
0x2a0-0x2af (width=16)
config = 0x05, 0xffff, irq any, io 0x100-0x11f (width=16), io
0x2a0-0x2af (width=16)
config = 0x06, 0xffff, irq any, io 0x100-0x11f (width=16), io
0x320-0x32f (width=16)
config = 0x07, 0xffff, irq any, io 0x280-0x29f (width=16), io
0x220-0x22f (width=16)
config = 0x08, 0xffff, irq any, io 0x280-0x29f (width=16), io
0x320-0x32f (width=16)
config = 0x09, 0xffff, irq any, io 0x280-0x29f (width=16), io
0x2a0-0x2af (width=16)
config = 0x0a, 0xffff, irq any, io 0x200-0x21f (width=16), io
0x320-0x32f (width=16)
config = 0x0b, 0xffff, irq any, io 0x200-0x21f (width=16), io
0x2a0-0x2af (width=16)
config = 0x0c, 0xffff, irq any, io 0x2c0-0x2df (width=16), io
0x320-0x32f (width=16)
register = 0, 0x40, 0x40 ; level mode interrupts
When I slay Pcmcia.generic and start it back up with this configuration
file ( using pcmciatrap start ), I get the following message:
Pcmcia.generic: syntax error in /etc/config/pcmcia.cards
When I do a pin, I get the following status information:
Sock Win Type Flags PID Base Size IRQ Base
Size DMA
1 Empty ----MF---------- None
2 0 Memory C—M----------W None - -
The card is in socket 2, but hasn’t been given any base addresss, etc.
So, I was wondering if anyone would help me in terms of why this config
file doesn’t work. As I said before, I did the following to generate
the pcmcia.cards file: pin cis > /etc/config/pcmcia.cards 2>&1
Thanks alot.
Rodney Lott