detect a PCI A/D card

hi,all,

  1. When i plug a PCI A/D card ,power on the machine ,and use pci_show then
    i can’t find the card. But i use the code of CA_PCI_* (),it does work ,why?

2.Finding the I/O base address,i use in*,out* to configure the register of
the card ,but it even can’t been put in, more strange is that every time
when i print out the I/O base address ,it changes
among many values according to wether i had try to configure the register.
Why?



the code that find a PCI device,print the i/0 base address is the example
of the CA_Find_Device() of the QNX online help!


Any Help will be appreciated!


ycao

There is a free show_pci.c source, wery helpful, try to find it on
www.qnx.com

ycao <ycao@mail.ipp.ac.cn> ÚÁÐÉÓÁÎÏ × ÓÔÁÔØÀ <9ti95h$hla$1@inn.qnx.com>…

hi,all,

  1. When i plug a PCI A/D card ,power on the machine ,and use pci_show
    then
    i can’t find the card. But i use the code of CA_PCI_* (),it does work
    ,why?

2.Finding the I/O base address,i use in*,out* to configure the register
of
the card ,but it even can’t been put in, more strange is that every
time
when i print out the I/O base address ,it changes
among many values according to wether i had try to configure the
register.
Why?



the code that find a PCI device,print the i/0 base address is the
example
of the CA_Find_Device() of the QNX online help!


Any Help will be appreciated!


ycao