Hello
We have just purchased a pc104+ board based off the XR17D158 Chipset.
It is a quad serial uart chip. I am trying to get this to run with
QNX and am not sure how to go about this. I have read a few
threads about changing the mmap_device_io call to
mmap_device_memory() call. I have never done any driver programming
so if anyone could/would give me any insight on the code modification
it would take to the devc-ser8250 ddk (init.c) code , I’d appreciate
it.
Here is my PCI Info
Class = Communication (Serial Controller)
Vendor ID = 13a8h, Exar Corp.
Device ID = 158h, XR17C158 Octal UART
PCI index = 0h
Class Codes = 070002h
Revision ID = 9h
Bus number = 1
Device number = 2
Function num = 0
Status Reg = 80h
Command Reg = 102h
I/O space access disabled
Memory space access enabled
Bus Master disabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Error Response disabled
Data/Address stepping disabled
SERR# driver enabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI Mem Address = ff7ff000h 32bit length 4096 enabled
Subsystem Vendor ID = 1435h
Subsystem ID = 7320h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 6
CPU Interrupt = 6h
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Thanks,
Ben