PCI device driver I/O ports

I am writing a QNX driver for a Gesytec Easylon LPP interface card. I can
read the PCI configuration data structure and I get the appropriate
addresses for the card. My question is do I have to use mmap () to open a
shared memory object to an I/O port or can I just use the inp () and outp ()
functions (they are 8 bit I/O) with the addresses in the PCI configuration
data structure.

“Lloyd Elwood” <nospam@nobody.com> wrote in message
news:915o15$2qh$1@inn.qnx.com

I am writing a QNX driver for a Gesytec Easylon LPP interface card. I can
read the PCI configuration data structure and I get the appropriate
addresses for the card. My question is do I have to use mmap () to open a
shared memory object to an I/O port or can I just use the inp () and outp
()
functions (they are 8 bit I/O) with the addresses in the PCI configuration
data structure.

You can do inp() outp() directly but you must have link with -T1 (I guess
you already did that)