memory mapped pci card

hi,
I am trying to read and write to a pci dio card. The
registers on the card are mapped to memory. The base
address of the block is 0x0000 2000. How do I read/write to
a register that is at an offset of 0x0000 or 0x0001?

thanks for you time,
Doron

Hi Doron,

Check out the following wrappers for some
help:

http://quics.qnx.com/cgi-bin/search/usr/free/?srch=PCI&submit=submit&select=1

Also check out the pci utils on that page as well as there are
examples there.

E.



doron <doron@cfi.ucsb.edu> wrote:

hi,
I am trying to read and write to a pci dio card. The
registers on the card are mapped to memory. The base
address of the block is 0x0000 2000. How do I read/write to
a register that is at an offset of 0x0000 or 0x0001?

thanks for you time,
Doron