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!
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!